retitle 502565 git-import-orig: should handle orig.tar.gz symlinks gracefully
severity 502565 minor

On Sat, Oct 18, 2008 at 01:07:27AM +0300, Jari Aalto wrote:
> 1. Run uscan to update to newest according to debian/watch
> 2. Run git-import-orig to try to upgrade the newest tar.gz
This of course works if you pass foo_2.6.orig.tar.gz and not the
foo-2.6.tar.gz.

> =>
> Cannot symlink '../foo-2.6.tar.gz' to '../foo_2.6.orig.tar.gz': File exists
No it shouldn't. We could check if the orig.tar.gz symlink points to the
tarball you passed to git-import-orig and stop otherwise. But we
shouldn't simply ignore the fact that there's a symlink already.
Pristine tar wants to use the orig.tar.gz and if that's different from
the tarball you passed things end up badly.
welcome.
 -- Guido



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to