Issue831

Title 'hg convert' creates broken reporsitory from CVS source
Priority bug Status resolved
Superseder Nosy List ulpfr
Assigned To Topics

Created on 2007-11-16.08:26:37 by ulpfr, last changed 2007-11-16.08:57:17 by ulpfr.

Files
File name Uploaded Type Edit Remove
create_rep ulpfr, 2007-11-16.08:26:36 application/octet-stream
Messages
msg4327 (view) Author: ulpfr Date: 2007-11-16.08:57:17
Hello,

sorry, a case of "problem before the keyboard".

Ulrich
msg4326 (view) Author: ulpfr Date: 2007-11-16.08:26:36
Hello,

when using 0.9.5 to convert a very simple CVS repository (test script attached)
the resulting repository knows about files ("hg manifest") but marks them with
"?" when asked with "hg status".  Also "hg diff" would not detect a change.
In order to continue development with the mercurial repository, I don't think
that is the desired behavior.

Ulrich
++ pwd
+ cwd=/home/upf/projects/tools/hgsync
+ rep=/home/upf/projects/tools/hgsync/CVS
+ mkdir CVS
+ cvs -d /home/upf/projects/tools/hgsync/CVS init
+ mkdir cvs
+ cd cvs
+ echo 'Zeile 1'
+ echo 'Zeile 1'
+ cvs -d/home/upf/projects/tools/hgsync/CVS import -m 'Initial import' test
vendor v0
N test/file_a
N test/file_b

No conflicts created by this import

+ rm file_a file_b
+ cd ..
+ rmdir cvs
+ cvs -d/home/upf/projects/tools/hgsync/CVS co test
cvs checkout: Updating test
U test/file_a
U test/file_b
+ mv test cvs
+ hg convert cvs hg hg.map
initializing destination hg repository
connecting to /home/upf/projects/tools/hgsync/CVS
scanning source...
sorting...
converting...
1 Initial revision
0 Initial import
updating tags
+ cd hg
+ echo 'Zeile 2'
+ echo 'Zeile 2'
+ echo '# Now '\''hg diff'\'' should show the changes'
# Now 'hg diff' should show the changes
+ hg diff
+ echo '# It does not'
# It does not
+ echo '# What is the status of files anyway?'
# What is the status of files anyway?
+ hg status
? .hgtags
? file_a
? file_b
+ echo '# Hmm, '\''?'\''?'
# Hmm, '?'?
+ echo '# What is the manifest?'
# What is the manifest?
+ hg manifest
.hgtags
file_a
file_b
+ echo '# Not very consistent'
# Not very consistent
History
Date User Action Args
2007-11-16 08:57:17ulpfrsetstatus: unread -> resolved
messages: + msg4327
2007-11-16 08:26:37ulpfrcreate