tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Please don't include CVS Ids into patch files (was: Re: CVS commit: pkgsrc/sysutils/strace)



[from pkgsrc-changes]

Takahiro Kambe schrieb:
> In message <20081129120415.659A6175D0%cvs.netbsd.org@localhost>
>       on Sat, 29 Nov 2008 12:04:15 +0000 (UTC),
>       Roland Illig <rillig%netbsd.org@localhost> wrote:
>> Module Name: pkgsrc
>> Committed By:        rillig
>> Date:                Sat Nov 29 12:04:15 UTC 2008
>>
>> Modified Files:
>>      pkgsrc/sysutils/strace: distinfo
>>
>> Log Message:
>> Fixed the checksum for patch-av. Whenever a patch file contains CVS Ids,
>> the distinfo must be regenerated _after_ committing the patches.
> Hmmm, we avoid to include CVS Id in such patch file?
> It makes hard pull up to branches.

There are two ways:

1. In files you have written yourself, don't include CVS Ids at all.
They can then be used as patches/patch-* by pkgsrc.

2. Don't create patches against /dev/null, but instead put your files
into files/ and copy them from there in the pre-patch stage.

Roland


Home | Main Index | Thread Index | Old Index