Hi,

On Thu, 26 Aug 2021 16:40:38 +0200 Yadd <y...@debian.org> wrote:

> could you try using "heads/Beta" instead of "refs/heads/Beta" ?

Here is the output when using `heads/Beta` instead of `refs/heads/Beta`:

> uscan --verbose --no-download --debug
> uscan info: uscan (version 2.21.3) See uscan(1) for help
> uscan info: Scan watch files in .
> uscan info: Check debian/watch and debian/changelog in .
> uscan info: package="flatcam" version="8.994+ds-1" (as seen in
> debian/changelog)
> uscan info: package="flatcam" version="8.994+ds" (no epoch/revision)
> uscan info: ./debian/changelog sets package="flatcam" version="8.994+ds"
> uscan info: Process watch file at: debian/watch
>     package = flatcam
>     version = 8.994+ds
>     pkg_dir = .
> uscan info: opts: mode=git, gitmode=full, pgpmode=none,
> pretty=8.994+git%cd.%h, repack, compression=xz
> uscan info: line: https://bitbucket.org/jpcgt/flatcam.git heads/Beta
> uscan info: Parsing mode=git
> uscan info: Parsing  gitmode=full
> uscan info: Parsing  pgpmode=none
> uscan info: Parsing  pretty=8.994+git%cd.%h
> uscan info: Parsing  repack
> uscan info: Parsing  compression=xz
> uscan info: line: https://bitbucket.org/jpcgt/flatcam.git heads/Beta
> uscan info: Last orig.tar.* tarball version (from debian/changelog):
> 8.994+ds
> uscan info: Last orig.tar.* tarball version (dversionmangled): 8.994+ds
> uscan info: Looking at $base = https://bitbucket.org/jpcgt/flatcam.git
> with
>     $filepattern = heads/Beta found
>     $newfile     = heads/Beta
>     $newversion  = 8.994+git20190713.dae9cbb0
>     $lastversion = 8.994+ds
> uscan info: Upstream URL(+tag) to download is identified as   
> https://bitbucket.org/jpcgt/flatcam.git heads/Beta
> uscan info: Filename (filenamemangled) for downloaded file:
> flatcam-8.994+git20190713.dae9cbb0.tar.xz
> uscan: Newest version of flatcam on remote site is
> 8.994+git20190713.dae9cbb0, local version is 8.994+ds
> uscan:  => Newer package available from:
>         => https://bitbucket.org/jpcgt/flatcam.git heads/Beta
> uscan info: Removing git repo (../flatcam-temporary.7926.git)
> uscan info: Scan finished

It seems to pick the last commit in `master` branch instead of the last
commit in the `Beta` branch:

> $ git show master
> commit dae9cbb0471e693b95fd809ddd8bf11ff026ac67 (HEAD -> master,
> origin/master, origin/HEAD)
> Merge: 46454c29 ea48d5b7
> Author: SM <sm...@hotmail.com>
> Date:   Sat Jul 13 17:41:06 2019 +0000

> $ git show Beta
> commit d4f941335ca8a8d5351aab23b396f99da06a9029 (origin/Beta, Beta)
> Merge: a64d01b5 e821072d
> Author: Emily Ellis <em...@scgtrp.net>
> Date:   Thu Aug 26 10:21:28 2021 +0000

Best regards


Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to