Filetimes updated by patch

Josef "Jeff" Sipek jeffpc at josefsipek.net
Sun Sep 10 04:28:38 UTC 2006


On Sun, Sep 10, 2006 at 12:08:47AM +0200, Benoit Boissinot wrote:
> On 9/9/06, Aurelien Jacobs <aurel at gnuage.org> wrote:
> >On Sat, 09 Sep 2006 20:40:24 +0100
> >> Ultimately I think that hg should not generate patches with the dates in
> >> the headers - these dates are meaningless.
> >> After looking at GNU patch I believe the dates can be removed and GNU
> >> patch will work just fine.  The special /dev/null marker filenames
> >> appear to be sufficient to distinguish adds and deletions from very
> >> large edits.
> >>
> >> Any objection to removing them?
> >
> >IIRC hg diff --git already have them removed.
> >
> But I'm not sure that GNU patch can use git patches.

I tried it earlier today, and the cases I thought of worked with GNU patch.
It is quite possible that some of the syntax used by git diff isn't
compatible (I certainly get the feeling from the way git people distinguish
between the two.)

Jeff.

-- 
The obvious mathematical breakthrough would be development of an easy way to
factor large prime numbers.
		- Bill Gates, The Road Ahead, pg. 265



More information about the Mercurial mailing list