File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,13 +21,20 @@ test_expect_failure 'import with criss cross times on revisions' '
2121
2222 git cvsimport -p"-x" -C module-git module &&
2323 cd module-git &&
24- git log --pretty=format:%s > ../actual &&
25- echo "" >> ../actual &&
24+ git log --pretty=format:%s > ../actual-master &&
25+ git log A~2..A --pretty="format:%s %ad" -- > ../actual-A &&
26+ echo "" >> ../actual-master &&
27+ echo "" >> ../actual-A &&
2628 cd .. &&
27- echo "Rev 3
29+ echo "Rev 4
30+ Rev 3
2831Rev 2
29- Rev 1" > expect &&
30- test_cmp actual expect
32+ Rev 1" > expect-master &&
33+ test_cmp actual-master expect-master &&
34+
35+ echo "Rev 5 Branch A Wed Mar 11 19:09:10 2009 +0000
36+ Rev 4 Branch A Wed Mar 11 19:03:52 2009 +0000" > expect-A &&
37+ test_cmp actual-A expect-A
3138'
3239
3340test_done
Original file line number Diff line number Diff line change 1+ * - whitespace
Original file line number Diff line number Diff line change 11head 1.2;
22access;
3- symbols;
3+ symbols
4+ A:1.2.0.2;
45locks; strict;
56comment @# @;
67
78
891.2
910date 2009.02.21.18.11.14; author tester; state Exp;
10- branches;
11+ branches
12+ 1.2.2.1;
1113next 1.1;
1214
13151.1
1416date 2009.02.21.18.11.43; author tester; state Exp;
1517branches;
1618next ;
1719
20+ 1.2.2.1
21+ date 2009.03.11.19.03.52; author tester; state Exp;
22+ branches;
23+ next 1.2.2.2;
24+
25+ 1.2.2.2
26+ date 2009.03.11.19.09.10; author tester; state Exp;
27+ branches;
28+ next ;
29+
1830
1931desc
2032@@
2941@
3042
3143
44+ 1.2.2.1
45+ log
46+ @Rev 4 Branch A
47+ @
48+ text
49+ @d1 1
50+ a1 1
51+ 1.2.2.1
52+ @
53+
54+
55+ 1.2.2.2
56+ log
57+ @Rev 5 Branch A
58+ @
59+ text
60+ @d1 1
61+ a1 1
62+ 1.2.2.2
63+ @
64+
65+
32661.1
3367log
3468@Rev 1
Original file line number Diff line number Diff line change 1- head 1.2 ;
1+ head 1.3 ;
22access;
3- symbols;
3+ symbols
4+ A:1.2.0.2;
45locks; strict;
56comment @# @;
67
78
9+ 1.3
10+ date 2009.03.11.19.05.08; author tester; state Exp;
11+ branches;
12+ next 1.2;
13+
8141.2
915date 2009.02.21.18.11.43; author tester; state Exp;
10- branches;
16+ branches
17+ 1.2.2.1;
1118next 1.1;
1219
13201.1
1421date 2009.02.21.18.11.14; author tester; state Exp;
1522branches;
1623next ;
1724
25+ 1.2.2.1
26+ date 2009.03.11.19.03.52; author tester; state Exp;
27+ branches;
28+ next 1.2.2.2;
29+
30+ 1.2.2.2
31+ date 2009.03.11.19.09.10; author tester; state Exp;
32+ branches;
33+ next ;
34+
1835
1936desc
2037@@
2138
2239
40+ 1.3
41+ log
42+ @Rev 4
43+ @
44+ text
45+ @1.3
46+ @
47+
48+
23491.2
2450log
2551@Rev 3
2652@
2753text
28- @1.2
54+ @d1 1
55+ a1 1
56+ 1.2
57+ @
58+
59+
60+ 1.2.2.1
61+ log
62+ @Rev 4 Branch A
63+ @
64+ text
65+ @d1 1
66+ a1 1
67+ 1.2.2.1
68+ @
69+
70+
71+ 1.2.2.2
72+ log
73+ @Rev 5 Branch A
74+ @
75+ text
76+ @d1 1
77+ a1 1
78+ 1.2
2979@
3080
3181
You can’t perform that action at this time.
0 commit comments