##// END OF EJS Templates
Do not use osutil.c with python 2.4 and Windows (issue1364)...
Do not use osutil.c with python 2.4 and Windows (issue1364) Windows python 2.4 os.stat() reports times including DST offset, while osutil.c reports the correct value, which makes status() systematically compare files content. This bug is fixed in python 2.5. Using osutil.py instead of osutil.c is 4x times slower on large repositories but current code is completely unusable. Given few people are likely to use python 2.4 on Windows this solution was considered a good trade-off compared to more invasive solutions trying to address the offset issue.

File last commit:

r10490:f2618cac stable
r10521:bde1bb25 stable
Show More
test-copy2.out
47 lines | 1.7 KiB | text/plain | TextLexer
Alexis S. L. Carvalho
Make hg add foo; hg mv foo bar work....
r4744 # should fail - foo is not managed
foo: not copying - file is not managed
abort: no files to copy
? foo
# dry-run; print a warning that this is not a real copy; foo is added
Alexis S. L. Carvalho
improve warning for hg add foo; hg mv foo bar
r4833 foo has not been committed yet, so no copy data will be stored for bar.
Alexis S. L. Carvalho
Make hg add foo; hg mv foo bar work....
r4744 A foo
# should print a warning that this is not a real copy; bar is added
Alexis S. L. Carvalho
improve warning for hg add foo; hg mv foo bar
r4833 foo has not been committed yet, so no copy data will be stored for bar.
Alexis S. L. Carvalho
Make hg add foo; hg mv foo bar work....
r4744 A bar
# should print a warning that this is not a real copy; foo is added
Alexis S. L. Carvalho
improve warning for hg add foo; hg mv foo bar
r4833 bar has not been committed yet, so no copy data will be stored for foo.
Alexis S. L. Carvalho
Make hg add foo; hg mv foo bar work....
r4744 A foo
# dry-run; should show that foo is clean
Matt Mackall
Backed out changeset c2a21fe60994...
r5764 C foo
mpm@selenic.com
fix some rename/copy bugs...
r1117 # should show copy
Alexis S. L. Carvalho
test-copy2: use status -C instead of debugstate | grep copy
r4743 A bar
foo
mpm@selenic.com
fix some rename/copy bugs...
r1117 # shouldn't show copy
# should match
rev offset length base linkrev nodeid p1 p2
0 0 5 0 0 2ed2a3912a0b 000000000000 000000000000
Matt Mackall
refactor debugrenamed
r3652 bar renamed from foo:2ed2a3912a0b24502043eae84ee4b279c18b90dd
mpm@selenic.com
fix some rename/copy bugs...
r1117 # should not be renamed
Matt Mackall
refactor debugrenamed
r3652 bar not renamed
mpm@selenic.com
fix some rename/copy bugs...
r1117 # should show copy
Alexis S. L. Carvalho
test-copy2: use status -C instead of debugstate | grep copy
r4743 M bar
foo
mpm@selenic.com
fix some rename/copy bugs...
r1117 # should show no parents for tip
rev offset length base linkrev nodeid p1 p2
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 0 0 69 0 1 7711d36246cc 000000000000 000000000000
1 69 6 1 2 bdf70a2b8d03 7711d36246cc 000000000000
2 75 81 1 3 b2558327ea8d 000000000000 000000000000
mpm@selenic.com
fix some rename/copy bugs...
r1117 # should match
rev offset length base linkrev nodeid p1 p2
0 0 5 0 0 2ed2a3912a0b 000000000000 000000000000
1 5 7 1 2 dd12c926cf16 2ed2a3912a0b 000000000000
Matt Mackall
refactor debugrenamed
r3652 bar renamed from foo:dd12c926cf165e3eb4cf87b084955cb617221c17
mpm@selenic.com
fix some rename/copy bugs...
r1117 # should show no copies
Brendan Cully
Make copy --after work for files that have been hg added.
r4376 # copy --after on an added file
A baz
bar
Alexis S. L. Carvalho
dirstate.status: if a file is marked as copied, consider it modified...
r4677 # foo was clean:
Matt Mackall
Backed out changeset c2a21fe60994...
r5764 C foo
Alexis S. L. Carvalho
dirstate.status: if a file is marked as copied, consider it modified...
r4677 # but it's considered modified after a copy --after --force
M foo
bar