On Sun, 2009-06-07 at 12:06 +0200, Cyril Brulebois wrote:
> according to uscan's manpage:
> |        --force-download
> |               Download upstream even if up to date (will not overwrite 
> local files, however)
[...]
> - I run --force-download without --rename so that the foo-bar.tar.gz
> is fetched, and so that I can run *sum on both foo_bar.orig.tar.gz
> (from dget) and foo-bar.tar.gz (from uscan).
>
> That's why I tried to use “uscan --force-download”, which refused to
> download:
> | -(cy...@talisker pts/2)-(~/hack/debian/pkg-phototools/qtpfsgui.git)
> | $ uscan --force-download --verbose
[...]
> | Newest version on remote site is 1.9.3, local version is 1.9.3
> |  => qtpfsgui_1.9.3.orig.tar.gz already in package directory '..'
> | -- Scan finished
> 
> Did I miss anything?

Yes.  The description you quoted includes "will not overwrite local
files"; even without --rename, the default is to create
$pkg_ver.orig.tar.gz as a symlink to the downloaded tarball, which would
then try to overwrite your existing file of that file.

There is, however, a potential bug here as even with --no-symlink we
still abort due to the presence of the .orig; we should probably skip
that check in that case.

Regards,

Adam



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to