Nicholas Bamber wrote:

> I maintain a package using git. So in the normal state in which I check
> stuff in the the patches are unapplied. The upstream makefiles happen to
> remake a number of files (to generate random numbers for security).
> Obviously I don't want to stop that, but I do want to restore those
> files before I check anything else in. So my normal build sequence might be:
>
> dpkg-buildpackage -us -uc
> fakeroot debian/rules clean
> quilt pop -a
> rm -rf .pc
>
> At that point I would expect to have a completely clean git workspace.

Ah, thanks for explaining.  The simplest way to get the behavior you expect
would be

        quilt push -a
        dpkg-buildpackage -us -uc
        fakeroot debian/rules clean
        quilt pop -a
        rm -rf .pc

I agree with you that it would be nice for unapply-patches to become a
tristate so --no-unapply-patches could have the same effect, though.
If you find time to make a patch for this, I'd be happy to review it
(and if I get a spare moment, I might take a shot at it).  Thanks for
reporting.




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

Reply via email to