##// END OF EJS Templates
convert: fix test-convert-svn-* problems with mtime not changing...
convert: fix test-convert-svn-* problems with mtime not changing The `svn commit` command does not detect changed files unless their mtime has changed. A quick succession of, for instance, `svn co ...; echo x >> y; svn ci` can thus lead to the change to y being ignored. Edited by pmezard to write in binary mode.

File last commit:

r6338:0750f111 default
r6439:c1b47c0f default
Show More
test-convert-hg-svn.out
36 lines | 675 B | text/plain | TextLexer
/ tests / test-convert-hg-svn.out
Bryan O'Sullivan
convert: tell the source repository when a rev has been converted...
r5554 Checked out revision 0.
A a
Adding a
Transmitting file data .
Committed revision 1.
% initial roundtrip
scanning source...
sorting...
converting...
0 added a
scanning source...
sorting...
converting...
% second roundtrip should do nothing
scanning source...
sorting...
converting...
scanning source...
sorting...
converting...
% new hg rev
Adrian Buehlmann
clone: print "updating working directory" status message...
r6338 updating working directory
Bryan O'Sullivan
convert: tell the source repository when a rev has been converted...
r5554 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
% echo hg to svn
scanning source...
sorting...
converting...
0 b
% svn back to hg should do nothing
scanning source...
sorting...
converting...
% hg back to svn should do nothing
scanning source...
sorting...
converting...