Date problem: -d

Bryan O'Sullivan bos at serpentine.com
Sun Sep 4 01:28:33 CDT 2005


On Sun, 2005-09-04 at 06:35 +0200, Manfred Lotz wrote:

> When committing and specifying a date that works fine although it seems
> the date won't get checked in any way.

That's correct.  We noticed this a few weeks ago when an automated tool
committed changes with invalid dates, but somehow we forgot to fix the
problem.  How embarrassing!

I've just committed a fix.  Thanks for bringing the problem up.  The fix
is pullable from http://hg.intevation.org/mercurial/crew

> Is there any documentation telling me how to specify the date parameter

It's a Unix timestamp and date, each in int format, separated by one
space.

See mercurial/changelog.py:changelog.add for code that generates a date
if none is handed in.

	<b

-- 
Bryan O'Sullivan <bos at serpentine.com>



More information about the Mercurial mailing list