Show More
@@ -25,16 +25,26 b' mkdir git-repo' | |||
|
25 | 25 | cd git-repo |
|
26 | 26 | git init-db >/dev/null 2>/dev/null |
|
27 | 27 | echo a > a |
|
28 | git add a | |
|
29 | commit -m t1 | |
|
28 | mkdir d | |
|
29 | echo b > d/b | |
|
30 | git add a d | |
|
31 | commit -a -m t1 | |
|
32 | ||
|
33 | # Remove the directory, then try to replace it with a file | |
|
34 | # (issue 754) | |
|
35 | git rm -r d | |
|
36 | commit -m t2 | |
|
37 | echo d > d | |
|
38 | git add d | |
|
39 | commit -m t3 | |
|
30 | 40 | |
|
31 | 41 | echo b >> a |
|
32 |
commit -a -m t |
|
|
42 | commit -a -m t4.1 | |
|
33 | 43 | |
|
34 | 44 | git checkout -b other HEAD^ >/dev/null 2>/dev/null |
|
35 | 45 | echo c > a |
|
36 | 46 | echo a >> a |
|
37 |
commit -a -m t |
|
|
47 | commit -a -m t4.2 | |
|
38 | 48 | |
|
39 | 49 | git checkout master >/dev/null 2>/dev/null |
|
40 | 50 | git pull --no-commit . other > /dev/null 2>/dev/null |
@@ -1,18 +1,21 b'' | |||
|
1 | rm 'd/b' | |
|
1 | 2 | assuming destination git-repo-hg |
|
2 | 3 | initializing destination git-repo-hg repository |
|
3 | 4 | scanning source... |
|
4 | 5 | sorting... |
|
5 | 6 | converting... |
|
6 |
|
|
|
7 |
|
|
|
8 | 1 t2.2 | |
|
7 | 5 t1 | |
|
8 | 4 t2 | |
|
9 | 3 t3 | |
|
10 | 2 t4.1 | |
|
11 | 1 t4.2 | |
|
9 | 12 | 0 Merge branch other |
|
10 |
changeset: |
|
|
13 | changeset: 5:77dc8b329132 | |
|
11 | 14 | tag: tip |
|
12 | parent: 1:cb991dbbb06b | |
|
13 | parent: 2:600bef931ca4 | |
|
15 | parent: 3:6f360826ff29 | |
|
16 | parent: 4:b5fadecd5d0e | |
|
14 | 17 | user: test <test@example.org> |
|
15 |
date: Mon Jan 01 00:00:1 |
|
|
18 | date: Mon Jan 01 00:00:15 2007 +0000 | |
|
16 | 19 | files: a |
|
17 | 20 | description: |
|
18 | 21 | Merge branch other |
General Comments 0
You need to be logged in to leave comments.
Login now