1 % create p4 depot |
|
2 % start the p4 server |
|
3 % create a client spec |
|
4 Client hg-p4-import saved. |
|
5 % populate the depot |
|
6 //depot/test-mercurial-import/a#1 - opened for add |
|
7 //depot/test-mercurial-import/b/c#1 - opened for add |
|
8 Submitting change 1. |
|
9 Locking 2 files ... |
|
10 add //depot/test-mercurial-import/a#1 |
|
11 add //depot/test-mercurial-import/b/c#1 |
|
12 Change 1 submitted. |
|
13 % change some files |
|
14 //depot/test-mercurial-import/a#1 - opened for edit |
|
15 Submitting change 2. |
|
16 Locking 1 files ... |
|
17 edit //depot/test-mercurial-import/a#2 |
|
18 Change 2 submitted. |
|
19 //depot/test-mercurial-import/b/c#1 - opened for edit |
|
20 Submitting change 3. |
|
21 Locking 1 files ... |
|
22 edit //depot/test-mercurial-import/b/c#2 |
|
23 Change 3 submitted. |
|
24 % convert |
|
25 initializing destination dst repository |
|
26 reading p4 views |
|
27 collecting p4 changelists |
|
28 1 initial |
|
29 2 change a |
|
30 3 change b/c |
|
31 scanning source... |
|
32 sorting... |
|
33 converting... |
|
34 2 initial |
|
35 1 change a |
|
36 0 change b/c |
|
37 rev=2 desc="change b/c" tags="tip" files="b/c" |
|
38 rev=1 desc="change a" tags="" files="a" |
|
39 rev=0 desc="initial" tags="" files="a b/c" |
|
40 % change some files |
|
41 //depot/test-mercurial-import/a#2 - opened for edit |
|
42 //depot/test-mercurial-import/b/c#2 - opened for edit |
|
43 Submitting change 4. |
|
44 Locking 2 files ... |
|
45 edit //depot/test-mercurial-import/a#3 |
|
46 edit //depot/test-mercurial-import/b/c#3 |
|
47 Change 4 submitted. |
|
48 % convert again |
|
49 reading p4 views |
|
50 collecting p4 changelists |
|
51 1 initial |
|
52 2 change a |
|
53 3 change b/c |
|
54 4 change a b/c |
|
55 scanning source... |
|
56 sorting... |
|
57 converting... |
|
58 0 change a b/c |
|
59 rev=3 desc="change a b/c" tags="tip" files="a b/c" |
|
60 rev=2 desc="change b/c" tags="" files="b/c" |
|
61 rev=1 desc="change a" tags="" files="a" |
|
62 rev=0 desc="initial" tags="" files="a b/c" |
|
63 % interesting names |
|
64 //depot/test-mercurial-import/d d#1 - opened for add |
|
65 //depot/test-mercurial-import/ e/ f#1 - opened for add |
|
66 Submitting change 5. |
|
67 Locking 2 files ... |
|
68 add //depot/test-mercurial-import/ e/ f#1 |
|
69 add //depot/test-mercurial-import/d d#1 |
|
70 Change 5 submitted. |
|
71 % convert again |
|
72 reading p4 views |
|
73 collecting p4 changelists |
|
74 1 initial |
|
75 2 change a |
|
76 3 change b/c |
|
77 4 change a b/c |
|
78 5 add d e f |
|
79 scanning source... |
|
80 sorting... |
|
81 converting... |
|
82 0 add d e f |
|
83 rev=4 desc="add d e f" tags="tip" files=" e/ f d d" |
|
84 rev=3 desc="change a b/c" tags="" files="a b/c" |
|
85 rev=2 desc="change b/c" tags="" files="b/c" |
|
86 rev=1 desc="change a" tags="" files="a" |
|
87 rev=0 desc="initial" tags="" files="a b/c" |
|
88 % stop the p4 server |
|