##// END OF EJS Templates
Mention 'hg update' to switch branches in help for branch and branches.
Mention 'hg update' to switch branches in help for branch and branches.

File last commit:

r5811:180a3eee default
r5999:d1fe1a4e default
Show More
test-convert-svn-sink.out
338 lines | 6.1 KiB | text/plain | TextLexer
/ tests / test-convert-svn-sink.out
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 % add
adding a
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 adding d1/d2/b
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 % modify
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 1:e0e2b8a9156b
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 assuming destination a-hg
initializing svn repo 'a-hg'
initializing svn wc 'a-hg-wc'
scanning source...
sorting...
converting...
1 add a file
0 modify a file
At revision 2.
2 2 test .
2 2 test a
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 2 1 test d1
2 1 test d1/d2
2 1 test d1/d2/b
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 <?xml version="1.0"?>
<log>
<logentry
revision="2">
<author>test</author>
<date/>
<paths>
<path
action="M">/a</path>
</paths>
<msg>modify a file</msg>
</logentry>
<logentry
revision="1">
<author>test</author>
<date/>
<paths>
<path
action="A">/a</path>
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 <path
action="A">/d1</path>
<path
action="A">/d1/d2</path>
<path
action="A">/d1/d2/b</path>
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 </paths>
<msg>add a file</msg>
</logentry>
</log>
a:
a
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 d1
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513
a-hg-wc:
a
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 d1
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 same
% rename
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 2:7009fc4efb34
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 assuming destination a-hg
initializing svn wc 'a-hg-wc'
scanning source...
sorting...
converting...
0 rename a file
At revision 3.
3 3 test .
3 3 test b
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 3 1 test d1
3 1 test d1/d2
3 1 test d1/d2/b
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 <?xml version="1.0"?>
<log>
<logentry
revision="3">
<author>test</author>
<date/>
<paths>
<path
action="D">/a</path>
<path
copyfrom-path="/a"
copyfrom-rev="2"
action="A">/b</path>
</paths>
<msg>rename a file</msg>
</logentry>
</log>
a:
b
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 d1
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513
a-hg-wc:
b
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 d1
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 % copy
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 3:56c519973ce6
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 assuming destination a-hg
initializing svn wc 'a-hg-wc'
scanning source...
sorting...
converting...
0 copy a file
At revision 4.
4 4 test .
4 3 test b
4 4 test c
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 4 1 test d1
4 1 test d1/d2
4 1 test d1/d2/b
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 <?xml version="1.0"?>
<log>
<logentry
revision="4">
<author>test</author>
<date/>
<paths>
<path
copyfrom-path="/b"
copyfrom-rev="3"
action="A">/c</path>
</paths>
<msg>copy a file</msg>
</logentry>
</log>
a:
b
c
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 d1
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513
a-hg-wc:
b
c
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 d1
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 % remove
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 4:ed4dc9a6f585
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 assuming destination a-hg
initializing svn wc 'a-hg-wc'
scanning source...
sorting...
converting...
0 remove a file
At revision 5.
5 5 test .
5 4 test c
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 5 1 test d1
5 1 test d1/d2
5 1 test d1/d2/b
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 <?xml version="1.0"?>
<log>
<logentry
revision="5">
<author>test</author>
<date/>
<paths>
<path
action="D">/b</path>
</paths>
<msg>remove a file</msg>
</logentry>
</log>
a:
c
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 d1
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513
a-hg-wc:
c
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 d1
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 % executable
Patrick Mezard
test-convert-svn-sink: test directory additions
r5538 5:f205b3636d77
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 assuming destination a-hg
initializing svn wc 'a-hg-wc'
scanning source...
sorting...
converting...
0 make a file executable
Maxim Dounin
Fix copies reporting in log and convert....
r5811 At revision 6.
6 6 test .
6 6 test c
6 1 test d1
6 1 test d1/d2
6 1 test d1/d2/b
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 <?xml version="1.0"?>
<log>
<logentry
Maxim Dounin
Fix copies reporting in log and convert....
r5811 revision="6">
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 <author>test</author>
<date/>
<paths>
<path
Maxim Dounin
Fix copies reporting in log and convert....
r5811 action="M">/c</path>
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 </paths>
Maxim Dounin
Fix copies reporting in log and convert....
r5811 <msg>make a file executable</msg>
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 </logentry>
</log>
executable
Maxim Dounin
convert: svn-sink: copy and set properties after adding dirs/files...
r5698 % executable in new directory
adding d1/a
assuming destination a-hg
initializing svn repo 'a-hg'
initializing svn wc 'a-hg-wc'
scanning source...
sorting...
converting...
0 add executable file in new directory
At revision 1.
1 1 test .
1 1 test d1
1 1 test d1/a
<?xml version="1.0"?>
<log>
<logentry
revision="1">
<author>test</author>
<date/>
<paths>
<path
action="A">/d1</path>
<path
action="A">/d1/a</path>
</paths>
<msg>add executable file in new directory</msg>
</logentry>
</log>
executable
% copy to new directory
assuming destination a-hg
initializing svn wc 'a-hg-wc'
scanning source...
sorting...
converting...
0 copy file to new directory
At revision 2.
2 2 test .
2 1 test d1
2 1 test d1/a
2 2 test d2
2 2 test d2/a
<?xml version="1.0"?>
<log>
<logentry
revision="2">
<author>test</author>
<date/>
<paths>
<path
action="A">/d2</path>
<path
copyfrom-path="/d1/a"
copyfrom-rev="1"
action="A">/d2/a</path>
</paths>
<msg>copy file to new directory</msg>
</logentry>
</log>
Bryan O'Sullivan
convert: add support for Subversion as a sink
r5513 % branchy history
adding b
adding left-1
adding left-2
1 files updated, 0 files merged, 2 files removed, 0 files unresolved
adding right-1
adding right-2
3 files updated, 0 files merged, 2 files removed, 0 files unresolved
warning: conflicts during merge.
merging b
merging b failed!
2 files updated, 0 files merged, 0 files removed, 1 files unresolved
There are unresolved merges, you can redo the full merge using:
hg update -C 2
hg merge 4
assuming destination b-hg
initializing svn repo 'b-hg'
initializing svn wc 'b-hg-wc'
scanning source...
sorting...
converting...
5 base
4 left-1
3 left-2
2 right-1
1 right-2
0 merge
% expect 4 changes
At revision 4.
4 4 test .
4 3 test b
4 2 test left-1
4 3 test left-2
4 4 test right-1
4 4 test right-2
<?xml version="1.0"?>
<log>
<logentry
revision="4">
<author>test</author>
<date/>
<paths>
<path
action="A">/right-1</path>
<path
action="A">/right-2</path>
</paths>
<msg>merge</msg>
</logentry>
<logentry
revision="3">
<author>test</author>
<date/>
<paths>
<path
action="M">/b</path>
<path
action="A">/left-2</path>
</paths>
<msg>left-2</msg>
</logentry>
<logentry
revision="2">
<author>test</author>
<date/>
<paths>
<path
action="M">/b</path>
<path
action="A">/left-1</path>
</paths>
<msg>left-1</msg>
</logentry>
<logentry
revision="1">
<author>test</author>
<date/>
<paths>
<path
action="A">/b</path>
</paths>
<msg>base</msg>
</logentry>
</log>