annotate tests/test-parse-date.out @ 5210:90d9ec0dc69d

merge: forcefully mark files that we get from the second parent as dirty After a hg merge, we want to include in the commit all the files that we got from the second parent, so that we have the correct file-level history. To make them visible to hg commit, we try to mark them as dirty. Unfortunately, right now we can't really mark them as dirty[1] - the best we can do is to mark them as needing a full comparison of their contents, but they will still be considered clean if they happen to be identical to the version in the first parent. This changeset extends the dirstate format in a compatible way, so that we can mark a file as dirty: Right now we use a negative file size to indicate we don't have valid stat data for this entry. In practice, this size is always -1. This patch uses -2 to indicate that the entry is dirty. Older versions of hg won't choke on this dirstate, but they may happily mark the file as clean after a full comparison, destroying all of our hard work. The patch adds a dirstate.normallookup method with the semantics of the current normaldirty, and changes normaldirty to forcefully mark the entry as dirty. This should fix issue522. [1] - well, we could put them in state 'm', but that state has a different meaning.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Thu, 23 Aug 2007 01:48:29 -0300
parents 30d4d8985dd8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2522
85f796baab10 Allow the use of human readable dates (issue 251)
Jose M. Prieto <jmprieto@gmx.net>
parents:
diff changeset
1 reverting a
85f796baab10 Allow the use of human readable dates (issue 251)
Jose M. Prieto <jmprieto@gmx.net>
parents:
diff changeset
2 changeset 3:107ce1ee2b43 backs out changeset 1:25a1420a55f8
2974
eef469259745 tag: shorten hash in default commit message
Matt Mackall <mpm@selenic.com>
parents: 2524
diff changeset
3 merging with changeset 2:e6c3abc120e7
2522
85f796baab10 Allow the use of human readable dates (issue 251)
Jose M. Prieto <jmprieto@gmx.net>
parents:
diff changeset
4 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
85f796baab10 Allow the use of human readable dates (issue 251)
Jose M. Prieto <jmprieto@gmx.net>
parents:
diff changeset
5 (branch merge, don't forget to commit)
4970
30d4d8985dd8 transactions: avoid late tear-down (issue641)
Matt Mackall <mpm@selenic.com>
parents: 3808
diff changeset
6 transaction abort!
30d4d8985dd8 transactions: avoid late tear-down (issue641)
Matt Mackall <mpm@selenic.com>
parents: 3808
diff changeset
7 rollback completed
3808
92a3532a01d9 parsedate: use Abort rather than ValueError
Matt Mackall <mpm@selenic.com>
parents: 3252
diff changeset
8 abort: invalid date: 'should fail'
2522
85f796baab10 Allow the use of human readable dates (issue 251)
Jose M. Prieto <jmprieto@gmx.net>
parents:
diff changeset
9 transaction abort!
85f796baab10 Allow the use of human readable dates (issue 251)
Jose M. Prieto <jmprieto@gmx.net>
parents:
diff changeset
10 rollback completed
2524
c1974f65d781 add more testcases for date parsing
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 2522
diff changeset
11 abort: date exceeds 32 bits: 100000000000000000
c1974f65d781 add more testcases for date parsing
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 2522
diff changeset
12 transaction abort!
c1974f65d781 add more testcases for date parsing
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 2522
diff changeset
13 rollback completed
c1974f65d781 add more testcases for date parsing
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 2522
diff changeset
14 abort: impossible time zone offset: 1400000
3250
e96d2956eb4a util.strdate: compute timestamp using UTC, not local timezone
Jose M. Prieto <jmprieto@gmx.net>
parents: 2974
diff changeset
15 Sun Jan 15 13:30:00 2006 +0500
3251
e5c9a084ffe3 util.strdate: assume local time when no timezone specified
Jose M. Prieto <jmprieto@gmx.net>
parents: 3250
diff changeset
16 Sun Jan 15 13:30:00 2006 -0800
3250
e96d2956eb4a util.strdate: compute timestamp using UTC, not local timezone
Jose M. Prieto <jmprieto@gmx.net>
parents: 2974
diff changeset
17 Sat Jul 15 13:30:00 2006 +0500
3251
e5c9a084ffe3 util.strdate: assume local time when no timezone specified
Jose M. Prieto <jmprieto@gmx.net>
parents: 3250
diff changeset
18 Sat Jul 15 13:30:00 2006 -0700
2522
85f796baab10 Allow the use of human readable dates (issue 251)
Jose M. Prieto <jmprieto@gmx.net>
parents:
diff changeset
19 Sun Jun 11 00:26:40 2006 -0400
85f796baab10 Allow the use of human readable dates (issue 251)
Jose M. Prieto <jmprieto@gmx.net>
parents:
diff changeset
20 Sat Apr 15 13:30:00 2006 +0200
85f796baab10 Allow the use of human readable dates (issue 251)
Jose M. Prieto <jmprieto@gmx.net>
parents:
diff changeset
21 Sat Apr 15 13:30:00 2006 +0000
85f796baab10 Allow the use of human readable dates (issue 251)
Jose M. Prieto <jmprieto@gmx.net>
parents:
diff changeset
22 Wed Feb 01 13:00:30 2006 -0500
85f796baab10 Allow the use of human readable dates (issue 251)
Jose M. Prieto <jmprieto@gmx.net>
parents:
diff changeset
23 Wed Feb 01 13:00:30 2006 +0000