Subject: Re: databases/libpqxx update
To: Jan Danielsson <jan.m.danielsson@gmail.com>
From: Ignatios Souvatzis <is@netbsd.org>
List: pkgsrc-users
Date: 06/16/2007 21:25:19
On Sat, Jun 16, 2007 at 08:25:15PM +0200, Jan Danielsson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> Ignatios Souvatzis wrote:
> [---]
> >>    However, I have no idea how to tell cvs to delete files so it'll end
> >> up in the output of the "cvs diff". How does one do that?
> > 
> > is the new patch-aa really about the same source file, that the old
> > patch-aa changed? then
> > 
> > mv ../work/.new_patches/patch-aa patch-aa
> > rm patch-ab
> > cvs rm patch-ab
> > cvs commit
> 
>    Granted, I don't know how cvs works -- but I don't have commit
> privileges, so I assume that this won't work.
> 
> > if the new patch-aa is about a different file, you should call it
> > patch-ac (or whichever name is unused...)
> > 
> > then 
> > 
> > rm patch-aa patch-ab
> > cvs rm patch-aa patch-ab
> > cvs add patch-ac
> > cvs commit
> 
>    Aha! I thought the first patch had to be named patch-aa, and so on?

In pkgsrc, our convention is to have one patchfile per sourcefile and vice
versa.

> But anyway -- does this mean that it's not possible for me (without
> commit privileges) to create a diff which specifies which files to delete?

Just replace them by empty files for the diff you create (will work
for your tests just fine, I think). Mention in your e-mail/PR that
those files should be removed.

Regards,
	-is