Package: git-buildpackage Version: 0.6.19 Severity: wishlist It happens frequently that that gbp import-orig fails for example because he forgot the indicate the --debian-branch and the merge failed to find the default debian-branch.
When the user then retries the command with the added option, it will fail again because the tag upstream/x.y does already exist. At that point, the user is very confused. gbp import-orig should be smarter and detect when upstream/x.y already exists. In that case it should offer to: 1/ rollback the former import-orig and redo the whole operation 2/ if the upstream tag is not reachable from the debian branch, then it should offer to do the merge while keeping the former import The rollback feature could possibly be exported as new option. I find it useful at times when I have to redo my import because I forgot some files to exclude from my tarball, etc. Cheers, -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages git-buildpackage depends on: ii devscripts 2.14.6 ii git 1:2.1.0-1 ii man-db 2.6.7.1-1 ii python 2.7.8-1 ii python-dateutil 1.5+dfsg-1 ii python-pkg-resources 5.5.1-1 Versions of packages git-buildpackage recommends: ii cowbuilder 0.73 ii pristine-tar 1.32 Versions of packages git-buildpackage suggests: ii python-notify 0.1.1-3 ii unzip 6.0-12 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org