3c775c5a6c03 breaks test-dirstate.t

Thomas Arendsen Hein thomas at intevation.de
Tue Oct 9 05:49:34 CDT 2012


* Adrian Buehlmann <adrian at cadifra.com> [20121009 12:33]:
> On 2012-10-09 11:44, Thomas Arendsen Hein wrote:
> > * Thomas Arendsen Hein <thomas at intevation.de> [20121009 10:13]:
> >> * Mercurial Commits <hg at intevation.org> [20121009 00:55]:
> >>> http://selenic.com/repo/hg//rev/3c775c5a6c03
> >>> changeset:   17733:3c775c5a6c03
> >>> tag:         tip
> >>> user:        Matt Mackall <mpm at selenic.com>
> >>> date:        Mon Oct 08 17:50:42 2012 -0500
> >>> summary:     dirstate: handle large dates and times with masking (issue2608)
> >>
> >> --- /home/thomas/hg/repos/tah/tests/test-dirstate.t
> >> +++ /home/thomas/hg/repos/tah/tests/test-dirstate.t.err
> >> @@ -56,9 +56,11 @@
> >>  Test modulo storage/comparison of absurd dates:
> >>    
> >>    $ touch -t 250001011200 a
> >> +  touch: invalid date format `250001011200'
> >> +  [1]
> >>    $ hg st
> >>    $ hg debugstate
> >> -  n 644          2 2023-08-24 13:21:04 a
> >> +  n 644          2 2021-01-01 12:00:00 a
> >>    $ touch -t 195001011200 a
> >>    $ hg st
> >>    $ hg debugstate
> >>
> >> (Debian squeeze 32bit on NFS drive)
> 
> FWIW, that test fails in the same way on Windows 7 x64 with x64 Python
> 2.7.3 (and x64 hg.exe) in MSYS.

Then it would be the best to just remove this part of the test,
pushed to crew:

changeset:   17737:4720d2c903a2
user:        Thomas Arendsen Hein <thomas at intevation.de>
date:        Tue Oct 09 12:47:54 2012 +0200
files:       tests/test-dirstate.t
description:
test-dirstate: remove test with date larger than 32 bit

When running on a 32bit system or with a touch command that only accepts
32bit dates, the following happened:
$ touch -t 250001011200 a
touch: invalid date format `250001011200'


-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Neuer Graben 17, 49074 Osnabrueck - AG Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Mercurial-devel mailing list