equal
deleted
inserted
replaced
54 # Test remove + move |
54 # Test remove + move |
55 darcs remove dir/d2 |
55 darcs remove dir/d2 |
56 rm dir/d2 |
56 rm dir/d2 |
57 darcs mv dir dir2 |
57 darcs mv dir dir2 |
58 darcs record -a -l -m p3 |
58 darcs record -a -l -m p3 |
59 cd .. |
59 |
|
60 echo % test utf-8 commit message and author |
|
61 echo g > g |
|
62 # darcs is encoding agnostic, so it takes whatever bytes it's given |
|
63 darcs record -a -l -m 'p4: desc ñ' -A 'author ñ' |
60 |
64 |
61 glog() |
65 glog() |
62 { |
66 { |
63 hg glog --template '{rev} "{desc|firstline}" files: {files}\n' "$@" |
67 HGENCODING=utf-8 hg glog --template '{rev} "{desc|firstline}" ({author}) files: {files}\n' "$@" |
64 } |
68 } |
65 |
69 |
|
70 cd .. |
66 hg convert darcs-repo darcs-repo-hg |
71 hg convert darcs-repo darcs-repo-hg |
67 # The converter does not currently handle patch conflicts very well. |
72 # The converter does not currently handle patch conflicts very well. |
68 # When they occur, it reverts *all* changes and moves forward, |
73 # When they occur, it reverts *all* changes and moves forward, |
69 # letting the conflict resolving patch fix collisions. |
74 # letting the conflict resolving patch fix collisions. |
70 # Unfortunately, non-conflicting changes, like the addition of the |
75 # Unfortunately, non-conflicting changes, like the addition of the |