Show More
@@ -30,8 +30,10 b' def addbranchrevs(lrepo, repo, branches,' | |||||
30 | if branch == '.': |
|
30 | if branch == '.': | |
31 | if not lrepo or not lrepo.local(): |
|
31 | if not lrepo or not lrepo.local(): | |
32 | raise util.Abort(_("dirstate branch not accessible")) |
|
32 | raise util.Abort(_("dirstate branch not accessible")) | |
33 |
b |
|
33 | butf8 = lrepo.dirstate.branch() | |
34 |
|
|
34 | branch = encoding.tolocal(butf8) | |
|
35 | else: | |||
|
36 | butf8 = encoding.fromlocal(branch) | |||
35 | if butf8 in branchmap: |
|
37 | if butf8 in branchmap: | |
36 | revs.extend(node.hex(r) for r in reversed(branchmap[butf8])) |
|
38 | revs.extend(node.hex(r) for r in reversed(branchmap[butf8])) | |
37 | else: |
|
39 | else: |
@@ -20,6 +20,14 b' hg branch b' | |||||
20 | echo b > foo |
|
20 | echo b > foo | |
21 | hg ci -d '0 0' -mb |
|
21 | hg ci -d '0 0' -mb | |
22 | hg up 0 |
|
22 | hg up 0 | |
|
23 | hg --encoding utf-8 branch æ | |||
|
24 | echo ae1 > foo | |||
|
25 | hg ci -d '0 0' -mae1 | |||
|
26 | hg up 0 | |||
|
27 | hg --encoding utf-8 branch -f æ | |||
|
28 | echo ae2 > foo | |||
|
29 | hg ci -d '0 0' -mae2 | |||
|
30 | hg up 0 | |||
23 | hg branch -f b |
|
31 | hg branch -f b | |
24 | echo b2 > foo |
|
32 | echo b2 > foo | |
25 | hg ci -d '0 0' -mb2 |
|
33 | hg ci -d '0 0' -mb2 | |
@@ -30,6 +38,10 b' hg in -qr c -b a' | |||||
30 | echo out branch . |
|
38 | echo out branch . | |
31 | hg out -q ../branch#. |
|
39 | hg out -q ../branch#. | |
32 | hg out -q -b . |
|
40 | hg out -q -b . | |
|
41 | echo out branch . non-ascii | |||
|
42 | hg --encoding utf-8 up æ | |||
|
43 | hg --encoding latin1 out -q ../branch#. | |||
|
44 | hg --encoding latin1 out -q -b . | |||
33 | echo clone branch b |
|
45 | echo clone branch b | |
34 | cd .. |
|
46 | cd .. | |
35 | hg clone branch2#b branch3 |
|
47 | hg clone branch2#b branch3 |
@@ -13,6 +13,12 b' 1 files updated, 0 files merged, 0 files' | |||||
13 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
13 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
14 | marked working directory as branch b |
|
14 | marked working directory as branch b | |
15 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
15 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
16 | marked working directory as branch æ | |||
|
17 | created new head | |||
|
18 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
|
19 | marked working directory as branch æ | |||
|
20 | created new head | |||
|
21 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
16 | marked working directory as branch b |
|
22 | marked working directory as branch b | |
17 | created new head |
|
23 | created new head | |
18 | in rev c branch a |
|
24 | in rev c branch a | |
@@ -22,9 +28,15 b' 1:dd6e60a716c6' | |||||
22 | 2:f25d57ab0566 |
|
28 | 2:f25d57ab0566 | |
23 | out branch . |
|
29 | out branch . | |
24 | 1:b84708d77ab7 |
|
30 | 1:b84708d77ab7 | |
25 |
|
|
31 | 4:65511d0e2b55 | |
26 | 1:b84708d77ab7 |
|
32 | 1:b84708d77ab7 | |
27 |
|
|
33 | 4:65511d0e2b55 | |
|
34 | out branch . non-ascii | |||
|
35 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
|
36 | 2:df5a44224d4e | |||
|
37 | 3:4f4a5125ca10 | |||
|
38 | 2:df5a44224d4e | |||
|
39 | 3:4f4a5125ca10 | |||
28 | clone branch b |
|
40 | clone branch b | |
29 | requesting all changes |
|
41 | requesting all changes | |
30 | adding changesets |
|
42 | adding changesets |
General Comments 0
You need to be logged in to leave comments.
Login now