Hi,

On Mon, 26 Sep 2011, 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.

What you're looking for is "dpkg-buildpackage -us -uc -tc". One command instead
of 4 with the same effect. With this setup debian/rules clean is called
while patches are still applied.

Given this knowledge, do you still believe that it's important to have
a --no-unapply-patches or similar?

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)



--
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