##// END OF EJS Templates
merge with stable
Matt Mackall -
r15623:fc8c7a5c merge default
parent child Browse files
Show More
@@ -50,16 +50,6 b' repository path'
50 50 Files
51 51 -----
52 52
53 ``.hgignore``
54 This file contains regular expressions (one per line) that
55 describe file names that should be ignored by **hg**. For details,
56 see |hgignore(5)|_.
57
58 ``.hgtags``
59 This file contains changeset hash values and text tag names (one
60 of each separated by spaces) that correspond to tagged versions of
61 the repository contents.
62
63 53 ``/etc/mercurial/hgrc``, ``$HOME/.hgrc``, ``.hg/hgrc``
64 54 This file contains defaults and configuration. Values in
65 55 ``.hg/hgrc`` override those in ``$HOME/.hgrc``, and these override
@@ -67,6 +57,34 b' Files'
67 57 See |hgrc(5)|_ for details of the contents and format of these
68 58 files.
69 59
60 ``.hgignore``
61 This file contains regular expressions (one per line) that
62 describe file names that should be ignored by **hg**. For details,
63 see |hgignore(5)|_.
64
65 ``.hgsub``
66 This file defines the locations of all subrepositories, and
67 tells where the subrepository checkouts came from. For details, see
68 :hg:`help subrepos`.
69
70 ``.hgsubstate``
71 This file is where Mercurial stores all nested repository states. *NB: This
72 file should not be edited manually.*
73
74 ``.hgtags``
75 This file contains changeset hash values and text tag names (one
76 of each separated by spaces) that correspond to tagged versions of
77 the repository contents. The file content is encoded using UTF-8.
78
79 ``.hg/last-message.txt``
80 This file is used by :hg:`commit` to store a backup of the commit message
81 in case the commit fails.
82
83 ``.hg/localtags``
84 This file can be used to define local tags which are not shared among
85 repositories. The file format is the same as for ``.hgtags``, but it is
86 encoded using the local system encoding.
87
70 88 Some commands (e.g. revert) produce backup files ending in ``.orig``,
71 89 if the ``.orig`` file already exists and is not tracked by Mercurial,
72 90 it will be overwritten.
@@ -862,6 +862,8 b' def branch(ui, repo, label=None, **opts)'
862 862 hint=_("use 'hg update' to switch to it"))
863 863 repo.dirstate.setbranch(label)
864 864 ui.status(_('marked working directory as branch %s\n') % label)
865 ui.status(_('(branches are permanent and global, '
866 'did you want a bookmark?)\n'))
865 867 else:
866 868 ui.write("%s\n" % repo.dirstate.branch())
867 869
@@ -1360,6 +1360,7 b' Branch acl tests setup'
1360 1360 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
1361 1361 $ hg branch foobar
1362 1362 marked working directory as branch foobar
1363 (branches are permanent and global, did you want a bookmark?)
1363 1364 $ hg commit -m 'create foobar'
1364 1365 $ echo 'foo contents' > abc.txt
1365 1366 $ hg add abc.txt
@@ -225,11 +225,13 b' named branches'
225 225 adding default
226 226 $ hg branch branch1
227 227 marked working directory as branch branch1
228 (branches are permanent and global, did you want a bookmark?)
228 229 $ echo branch1 > file1
229 230 $ hg ci -d '1 0' -Am file1
230 231 adding file1
231 232 $ hg branch branch2
232 233 marked working directory as branch branch2
234 (branches are permanent and global, did you want a bookmark?)
233 235 $ echo branch2 > file2
234 236 $ hg ci -d '2 0' -Am file2
235 237 adding file2
@@ -20,6 +20,7 b''
20 20 $ hg add a
21 21 $ hg branch a
22 22 marked working directory as branch a
23 (branches are permanent and global, did you want a bookmark?)
23 24 $ hg commit -m "Adding a branch"
24 25 $ heads
25 26 1: Adding a branch (a)
@@ -36,6 +37,7 b''
36 37 $ hg add b
37 38 $ hg branch b
38 39 marked working directory as branch b
40 (branches are permanent and global, did you want a bookmark?)
39 41 $ hg commit -m "Adding b branch"
40 42 $ heads
41 43 2: Adding b branch (b)
@@ -117,6 +119,7 b''
117 119 $ hg add c
118 120 $ hg branch c
119 121 marked working directory as branch c
122 (branches are permanent and global, did you want a bookmark?)
120 123 $ hg commit -m "Adding c branch"
121 124 $ heads
122 125 7: Adding c branch (c)
@@ -287,6 +290,7 b' Init: no msg'
287 290
288 291 $ hg branch b
289 292 marked working directory as branch b
293 (branches are permanent and global, did you want a bookmark?)
290 294 $ echo 1 > b
291 295 $ hg ci -Am "b2: Initial root for branch b"
292 296 adding b
@@ -298,6 +302,7 b' Case NN: msg'
298 302 $ hg up -q null
299 303 $ hg branch -f b
300 304 marked working directory as branch b
305 (branches are permanent and global, did you want a bookmark?)
301 306 $ echo 1 > bb
302 307 $ hg ci -Am "b4 (NN): new topo root for branch b"
303 308 adding bb
@@ -312,6 +317,7 b' Case BN: msg'
312 317
313 318 $ hg branch -f default
314 319 marked working directory as branch default
320 (branches are permanent and global, did you want a bookmark?)
315 321 $ echo 1 > aa
316 322 $ hg ci -Am "a6 (BN): new branch root"
317 323 adding aa
@@ -331,6 +337,7 b' Case BB: msg'
331 337 $ hg merge -q 3
332 338 $ hg branch -f default
333 339 marked working directory as branch default
340 (branches are permanent and global, did you want a bookmark?)
334 341 $ hg ci -m "a8 (BB): weird new branch root"
335 342 created new head
336 343
@@ -324,6 +324,7 b' create bundle with two heads'
324 324 $ echo y > tobundle/y
325 325 $ hg -R tobundle branch test
326 326 marked working directory as branch test
327 (branches are permanent and global, did you want a bookmark?)
327 328 $ hg -R tobundle add tobundle/y
328 329 $ hg -R tobundle commit -m'y'
329 330 $ hg -R tobundle bundle tobundle.hg
@@ -4,6 +4,7 b' test branch selection options'
4 4 $ cd branch
5 5 $ hg branch a
6 6 marked working directory as branch a
7 (branches are permanent and global, did you want a bookmark?)
7 8 $ echo a > foo
8 9 $ hg ci -d '0 0' -Ama
9 10 adding foo
@@ -13,6 +14,7 b' test branch selection options'
13 14 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
14 15 $ hg branch c
15 16 marked working directory as branch c
17 (branches are permanent and global, did you want a bookmark?)
16 18 $ echo c > foo
17 19 $ hg ci -d '0 0' -mc
18 20 $ hg tag -l z
@@ -29,18 +31,21 b' test branch selection options'
29 31 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
30 32 $ hg branch b
31 33 marked working directory as branch b
34 (branches are permanent and global, did you want a bookmark?)
32 35 $ echo b > foo
33 36 $ hg ci -d '0 0' -mb
34 37 $ hg up 0
35 38 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
36 39 $ hg --encoding utf-8 branch æ
37 40 marked working directory as branch \xc3\xa6 (esc)
41 (branches are permanent and global, did you want a bookmark?)
38 42 $ echo ae1 > foo
39 43 $ hg ci -d '0 0' -mae1
40 44 $ hg up 0
41 45 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
42 46 $ hg --encoding utf-8 branch -f æ
43 47 marked working directory as branch \xc3\xa6 (esc)
48 (branches are permanent and global, did you want a bookmark?)
44 49 $ echo ae2 > foo
45 50 $ hg ci -d '0 0' -mae2
46 51 created new head
@@ -48,6 +53,7 b' test branch selection options'
48 53 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
49 54 $ hg branch -f b
50 55 marked working directory as branch b
56 (branches are permanent and global, did you want a bookmark?)
51 57 $ echo b2 > foo
52 58 $ hg ci -d '0 0' -mb2
53 59 created new head
@@ -14,6 +14,7 b' Create a branch with the same name as th'
14 14
15 15 $ hg branch branchortag
16 16 marked working directory as branch branchortag
17 (branches are permanent and global, did you want a bookmark?)
17 18 $ hg ci -m 'Create a branch with the same name as a tag.'
18 19
19 20 This is what we have:
@@ -8,10 +8,12 b''
8 8 $ hg add a
9 9 $ hg branch a
10 10 marked working directory as branch a
11 (branches are permanent and global, did you want a bookmark?)
11 12 $ hg commit -d '1 0' -m "Adding a branch"
12 13
13 14 $ hg branch q
14 15 marked working directory as branch q
16 (branches are permanent and global, did you want a bookmark?)
15 17 $ echo 'aa' >a
16 18 $ hg branch -C
17 19 reset working directory to branch a
@@ -23,6 +25,7 b''
23 25 $ hg add b
24 26 $ hg branch b
25 27 marked working directory as branch b
28 (branches are permanent and global, did you want a bookmark?)
26 29 $ hg commit -d '2 0' -m "Adding b branch"
27 30
28 31 $ echo 'bh1' >bh1
@@ -39,6 +42,7 b''
39 42 $ hg add c
40 43 $ hg branch c
41 44 marked working directory as branch c
45 (branches are permanent and global, did you want a bookmark?)
42 46 $ hg commit -d '5 0' -m "Adding c branch"
43 47
44 48 $ hg branch tip
@@ -55,6 +59,7 b''
55 59 $ hg add d
56 60 $ hg branch 'a branch name much longer than the default justification used by branches'
57 61 marked working directory as branch a branch name much longer than the default justification used by branches
62 (branches are permanent and global, did you want a bookmark?)
58 63 $ hg commit -d '6 0' -m "Adding d branch"
59 64
60 65 $ hg branches
@@ -6,6 +6,7 b''
6 6 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
7 7 $ hg branch mine
8 8 marked working directory as branch mine
9 (branches are permanent and global, did you want a bookmark?)
9 10 $ echo hello > world
10 11 $ hg commit -Am hello
11 12 adding world
@@ -13,6 +14,7 b''
13 14 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
14 15 $ hg branch other
15 16 marked working directory as branch other
17 (branches are permanent and global, did you want a bookmark?)
16 18 $ echo good > bye
17 19 $ hg commit -Am other
18 20 adding bye
@@ -132,6 +132,7 b' Adding some more history to repo a:'
132 132 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
133 133 $ hg branch stable
134 134 marked working directory as branch stable
135 (branches are permanent and global, did you want a bookmark?)
135 136 $ echo some text >a
136 137 $ hg ci -m "starting branch stable"
137 138 $ hg tag ref2
@@ -31,6 +31,7 b' add initial changesets'
31 31 commit bug fixes on bug fix branch
32 32 $ hg branch fixes
33 33 marked working directory as branch fixes
34 (branches are permanent and global, did you want a bookmark?)
34 35 $ echo fix1 > bugfix
35 36 $ echo fix1 >> file1
36 37 $ hg ci -Am"fix 1"
@@ -52,6 +53,7 b' transplant bug fixes onto release branch'
52 53 1 files updated, 0 files merged, 2 files removed, 0 files unresolved
53 54 $ hg branch release
54 55 marked working directory as branch release
56 (branches are permanent and global, did you want a bookmark?)
55 57 $ hg transplant 2 3
56 58 applying [0-9a-f]{12} (re)
57 59 [0-9a-f]{12} transplanted to [0-9a-f]{12} (re)
@@ -15,6 +15,7 b' Add a merge with one parent in the same '
15 15 $ hg up -qC 0
16 16 $ hg branch branch0
17 17 marked working directory as branch branch0
18 (branches are permanent and global, did you want a bookmark?)
18 19 $ echo b > b
19 20 $ hg ci -qAm addb
20 21 $ hg up -qC
@@ -52,11 +53,13 b' Add a merge with both parents and child '
52 53 $ cd source
53 54 $ hg branch branch1
54 55 marked working directory as branch branch1
56 (branches are permanent and global, did you want a bookmark?)
55 57 $ echo a > file1
56 58 $ hg ci -qAm c1
57 59 $ hg up -qC mergeab
58 60 $ hg branch branch2
59 61 marked working directory as branch branch2
62 (branches are permanent and global, did you want a bookmark?)
60 63 $ echo a > file2
61 64 $ hg ci -qAm c2
62 65 $ hg merge branch1
@@ -64,6 +67,7 b' Add a merge with both parents and child '
64 67 (branch merge, don't forget to commit)
65 68 $ hg branch branch3
66 69 marked working directory as branch branch3
70 (branches are permanent and global, did you want a bookmark?)
67 71 $ hg ci -qAm c3
68 72 $ cd ..
69 73
@@ -11,6 +11,7 b''
11 11 adding a
12 12 $ hg branch brancha
13 13 marked working directory as branch brancha
14 (branches are permanent and global, did you want a bookmark?)
14 15 $ echo a >> a
15 16 $ hg ci -m a1 -d '2 0'
16 17 $ echo a >> a
@@ -21,6 +22,7 b''
21 22 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
22 23 $ hg branch branchb
23 24 marked working directory as branch branchb
25 (branches are permanent and global, did you want a bookmark?)
24 26 $ echo b >> b
25 27 $ hg ci -Am b0 -d '6 0'
26 28 adding b
@@ -299,6 +299,7 b' test branch closing revision pruning if '
299 299 $ cd branchpruning
300 300 $ hg branch foo
301 301 marked working directory as branch foo
302 (branches are permanent and global, did you want a bookmark?)
302 303 $ echo a > a
303 304 $ hg ci -Am adda
304 305 adding a
@@ -307,12 +308,14 b' test branch closing revision pruning if '
307 308 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
308 309 $ hg branch empty
309 310 marked working directory as branch empty
311 (branches are permanent and global, did you want a bookmark?)
310 312 $ hg ci -m emptybranch
311 313 $ hg ci --close-branch -m closeempty
312 314 $ hg up 0
313 315 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
314 316 $ hg branch default
315 317 marked working directory as branch default
318 (branches are permanent and global, did you want a bookmark?)
316 319 $ echo b > b
317 320 $ hg ci -Am addb
318 321 adding b
@@ -115,12 +115,15 b' add branches/tags'
115 115
116 116 $ hg branch $S
117 117 marked working directory as branch \xe7\x9f\xad\xe5\x90\x8d (esc)
118 (branches are permanent and global, did you want a bookmark?)
118 119 $ hg tag $S
119 120 $ hg branch $M
120 121 marked working directory as branch MIDDLE_
122 (branches are permanent and global, did you want a bookmark?)
121 123 $ hg tag $M
122 124 $ hg branch $L
123 125 marked working directory as branch \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d (esc)
126 (branches are permanent and global, did you want a bookmark?)
124 127 $ hg tag $L
125 128
126 129 check alignment of branches
@@ -42,6 +42,7 b' these should work'
42 42 $ HGENCODING=latin-1 hg tag `cat latin-1-tag`
43 43 $ HGENCODING=latin-1 hg branch `cat latin-1-tag`
44 44 marked working directory as branch \xe9 (esc)
45 (branches are permanent and global, did you want a bookmark?)
45 46 $ HGENCODING=latin-1 hg ci -m 'latin1 branch'
46 47 $ rm .hg/branch
47 48
@@ -144,12 +144,14 b' test fetch with named branches'
144 144 adding a
145 145 $ hg -R nbase branch a
146 146 marked working directory as branch a
147 (branches are permanent and global, did you want a bookmark?)
147 148 $ echo a > nbase/a
148 149 $ hg -R nbase ci -m a
149 150 $ hg -R nbase up -C 0
150 151 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
151 152 $ hg -R nbase branch b
152 153 marked working directory as branch b
154 (branches are permanent and global, did you want a bookmark?)
153 155 $ echo b > nbase/b
154 156 $ hg -R nbase ci -Am b
155 157 adding b
@@ -318,6 +320,7 b' pull in change on different branch than '
318 320 $ hg -R n1 ci -m next
319 321 $ hg -R n2 branch topic
320 322 marked working directory as branch topic
323 (branches are permanent and global, did you want a bookmark?)
321 324 $ hg -R n2 fetch -m merge n1
322 325 abort: working dir not at branch tip (use "hg update" to check out branch tip)
323 326 [255]
@@ -336,11 +339,13 b' test fetch with inactive branches'
336 339 adding a
337 340 $ hg --cwd ib1 branch second
338 341 marked working directory as branch second
342 (branches are permanent and global, did you want a bookmark?)
339 343 $ echo b > ib1/b
340 344 $ hg --cwd ib1 ci -Am onsecond
341 345 adding b
342 346 $ hg --cwd ib1 branch -f default
343 347 marked working directory as branch default
348 (branches are permanent and global, did you want a bookmark?)
344 349 $ echo c > ib1/c
345 350 $ hg --cwd ib1 ci -Am newdefault
346 351 adding c
@@ -22,6 +22,7 b' Set up the repo'
22 22 $ echo another > foo
23 23 $ hg branch stable
24 24 marked working directory as branch stable
25 (branches are permanent and global, did you want a bookmark?)
25 26 $ hg ci -Ambranch
26 27 $ hg serve --config server.uncompressed=False -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
27 28 $ cat hg.pid >> $DAEMON_PIDS
@@ -7,6 +7,7 b''
7 7 $ hg init a
8 8 $ hg --encoding utf-8 -R a branch æ
9 9 marked working directory as branch \xc3\xa6 (esc)
10 (branches are permanent and global, did you want a bookmark?)
10 11 $ echo foo > a/foo
11 12 $ hg -R a ci -Am foo
12 13 adding foo
@@ -19,6 +19,7 b''
19 19 $ hg commit -m "No branch."
20 20 $ hg branch abranch
21 21 marked working directory as branch abranch
22 (branches are permanent and global, did you want a bookmark?)
22 23 $ echo "Rev 2" >rev
23 24 $ hg commit -m "With branch."
24 25
@@ -18,6 +18,7 b' Test --bypass with other options'
18 18 $ echo a >> a
19 19 $ hg branch foo
20 20 marked working directory as branch foo
21 (branches are permanent and global, did you want a bookmark?)
21 22 $ hg ci -Am changea
22 23 $ hg export . > ../test.diff
23 24 $ hg up null
@@ -11,6 +11,7 b' Initialize remote repo with branches:'
11 11
12 12 $ hg branch br
13 13 marked working directory as branch br
14 (branches are permanent and global, did you want a bookmark?)
14 15 $ hg ci -Amb
15 16
16 17 $ echo c > c
@@ -8,6 +8,7 b' http://mercurial.selenic.com/bts/issue61'
8 8 $ echo b > b
9 9 $ hg branch b
10 10 marked working directory as branch b
11 (branches are permanent and global, did you want a bookmark?)
11 12 $ hg ci -Amb
12 13 adding b
13 14
@@ -31,6 +31,7 b' Should not issue new head warning:'
31 31 $ echo crap > a
32 32 $ hg branch testing
33 33 marked working directory as branch testing
34 (branches are permanent and global, did you want a bookmark?)
34 35
35 36 Should not issue warning:
36 37
@@ -1005,6 +1005,7 b' Test restricted mode with transplant -b'
1005 1005 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
1006 1006 $ hg branch foo
1007 1007 marked working directory as branch foo
1008 (branches are permanent and global, did you want a bookmark?)
1008 1009 $ mv a a.bak
1009 1010 $ echo foobranch > a
1010 1011 $ cat a.bak >> a
@@ -629,6 +629,7 b' log -r tip --stat'
629 629 adding a
630 630 $ hg branch test
631 631 marked working directory as branch test
632 (branches are permanent and global, did you want a bookmark?)
632 633 $ echo b > b
633 634 $ hg ci -A -m "commit on test"
634 635 adding b
@@ -68,6 +68,7 b' hg update -C 8'
68 68 hg branch some-branch
69 69 $ hg branch some-branch
70 70 marked working directory as branch some-branch
71 (branches are permanent and global, did you want a bookmark?)
71 72 hg commit
72 73 $ hgcommit -m 'started some-branch'
73 74 hg commit --close-branch
@@ -85,6 +85,7 b' Should fail because there is only one he'
85 85 $ echo f >> a
86 86 $ hg branch foobranch
87 87 marked working directory as branch foobranch
88 (branches are permanent and global, did you want a bookmark?)
88 89 $ hg commit -mf
89 90
90 91 Should fail because merge with other branch:
@@ -76,6 +76,7 b' qpush warning branchheads'
76 76 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
77 77 $ hg branch b
78 78 marked working directory as branch b
79 (branches are permanent and global, did you want a bookmark?)
79 80 $ echo c > c
80 81 $ hg ci -Amc
81 82 adding c
@@ -125,6 +126,7 b' Testing applied patches, push and --forc'
125 126 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
126 127 $ hg branch branch
127 128 marked working directory as branch branch
129 (branches are permanent and global, did you want a bookmark?)
128 130 $ echo b > b
129 131 $ hg ci -Am addb
130 132 adding b
@@ -9,11 +9,13 b''
9 9 $ hg ci -m "initial"
10 10 $ hg branch foo
11 11 marked working directory as branch foo
12 (branches are permanent and global, did you want a bookmark?)
12 13 $ hg branch
13 14 foo
14 15 $ hg ci -m "add branch name"
15 16 $ hg branch bar
16 17 marked working directory as branch bar
18 (branches are permanent and global, did you want a bookmark?)
17 19 $ hg ci -m "change branch name"
18 20
19 21 Branch shadowing:
@@ -25,6 +27,7 b' Branch shadowing:'
25 27
26 28 $ hg branch -f default
27 29 marked working directory as branch default
30 (branches are permanent and global, did you want a bookmark?)
28 31
29 32 $ hg ci -m "clear branch name"
30 33 created new head
@@ -186,6 +189,7 b' Update with no arguments: tipmost revisi'
186 189
187 190 $ hg branch foobar
188 191 marked working directory as branch foobar
192 (branches are permanent and global, did you want a bookmark?)
189 193
190 194 $ hg up
191 195 abort: branch foobar not found
@@ -195,6 +199,7 b' Fastforward merge:'
195 199
196 200 $ hg branch ff
197 201 marked working directory as branch ff
202 (branches are permanent and global, did you want a bookmark?)
198 203
199 204 $ echo ff > ff
200 205 $ hg ci -Am'fast forward'
@@ -256,6 +261,7 b' Test merging, add 3 default heads and on'
256 261 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
257 262 $ hg branch test
258 263 marked working directory as branch test
264 (branches are permanent and global, did you want a bookmark?)
259 265 $ echo e >> e
260 266 $ hg ci -Ame
261 267 adding e
@@ -2020,6 +2020,7 b' test outgoing:'
2020 2020
2021 2021 $ hg branch test
2022 2022 marked working directory as branch test
2023 (branches are permanent and global, did you want a bookmark?)
2023 2024
2024 2025 $ echo d > d
2025 2026 $ hg add d
@@ -5,6 +5,7 b''
5 5 adding foo
6 6 $ hg branch branchA
7 7 marked working directory as branch branchA
8 (branches are permanent and global, did you want a bookmark?)
8 9 $ echo a1 > foo
9 10 $ hg ci -ma1 # 1
10 11
@@ -32,6 +33,7 b' Create branch B:'
32 33 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
33 34 $ hg branch branchB
34 35 marked working directory as branch branchB
36 (branches are permanent and global, did you want a bookmark?)
35 37 $ echo b1 > foo
36 38 $ hg ci -mb1 # 3
37 39
@@ -139,6 +141,7 b' Make changes on new branch on tt'
139 141 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
140 142 $ hg branch branchC
141 143 marked working directory as branch branchC
144 (branches are permanent and global, did you want a bookmark?)
142 145 $ echo b1 > bar
143 146 $ hg ci -Am "commit on branchC on tt"
144 147 adding bar
@@ -393,6 +393,7 b' Check prepush logic with merged branches'
393 393 $ hg init j
394 394 $ hg -R j branch a
395 395 marked working directory as branch a
396 (branches are permanent and global, did you want a bookmark?)
396 397 $ echo init > j/foo
397 398 $ hg -R j ci -Am init
398 399 adding foo
@@ -403,6 +404,7 b' Check prepush logic with merged branches'
403 404 $ hg -R j ci -m a1
404 405 $ hg -R k branch b
405 406 marked working directory as branch b
407 (branches are permanent and global, did you want a bookmark?)
406 408 $ echo b > k/foo
407 409 $ hg -R k ci -m b
408 410 $ hg -R k up 0
@@ -466,11 +468,13 b' Check prepush with new branch head on fo'
466 468 $ cd n
467 469 $ hg branch A
468 470 marked working directory as branch A
471 (branches are permanent and global, did you want a bookmark?)
469 472 $ echo a >a
470 473 $ hg ci -Ama
471 474 adding a
472 475 $ hg branch B
473 476 marked working directory as branch B
477 (branches are permanent and global, did you want a bookmark?)
474 478 $ echo b >b
475 479 $ hg ci -Amb
476 480 adding b
@@ -543,11 +547,13 b' Check prepush with new branch head on fo'
543 547 $ cd o
544 548 $ hg branch A
545 549 marked working directory as branch A
550 (branches are permanent and global, did you want a bookmark?)
546 551 $ echo a >a
547 552 $ hg ci -Ama
548 553 adding a
549 554 $ hg branch B
550 555 marked working directory as branch B
556 (branches are permanent and global, did you want a bookmark?)
551 557 $ echo b >b
552 558 $ hg ci -Amb
553 559 adding b
@@ -629,6 +635,7 b' but child is on different branch:'
629 635 $ cd p
630 636 $ hg branch A
631 637 marked working directory as branch A
638 (branches are permanent and global, did you want a bookmark?)
632 639 $ echo a0 >a
633 640 $ hg ci -Ama0
634 641 adding a
@@ -638,6 +645,7 b' but child is on different branch:'
638 645 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
639 646 $ hg branch B
640 647 marked working directory as branch B
648 (branches are permanent and global, did you want a bookmark?)
641 649 $ echo b0 >b
642 650 $ hg ci -Amb0
643 651 adding b
@@ -652,6 +660,7 b' but child is on different branch:'
652 660 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
653 661 $ hg branch -f B
654 662 marked working directory as branch B
663 (branches are permanent and global, did you want a bookmark?)
655 664 $ echo a3 >a
656 665 $ hg ci -ma3
657 666 created new head
@@ -659,6 +668,7 b' but child is on different branch:'
659 668 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
660 669 $ hg branch -f A
661 670 marked working directory as branch A
671 (branches are permanent and global, did you want a bookmark?)
662 672 $ echo b3 >b
663 673 $ hg ci -mb3
664 674 created new head
@@ -17,6 +17,7 b''
17 17
18 18 $ hg branch branch1
19 19 marked working directory as branch branch1
20 (branches are permanent and global, did you want a bookmark?)
20 21 $ hg ci -m 'branch1'
21 22
22 23 $ echo b > b
@@ -27,6 +28,7 b''
27 28
28 29 $ hg branch branch2
29 30 marked working directory as branch branch2
31 (branches are permanent and global, did you want a bookmark?)
30 32 $ hg ci -m 'branch2'
31 33
32 34 $ echo c > C
@@ -37,6 +39,7 b''
37 39
38 40 $ hg branch -f branch2
39 41 marked working directory as branch branch2
42 (branches are permanent and global, did you want a bookmark?)
40 43 $ echo d > d
41 44 $ hg ci -Am D
42 45 adding d
@@ -51,6 +54,7 b''
51 54
52 55 $ hg branch branch3
53 56 marked working directory as branch branch3
57 (branches are permanent and global, did you want a bookmark?)
54 58 $ hg ci -m 'branch3'
55 59
56 60 $ echo f > f
@@ -36,6 +36,7 b''
36 36
37 37 $ hg branch 'notdefault'
38 38 marked working directory as branch notdefault
39 (branches are permanent and global, did you want a bookmark?)
39 40 $ echo F >> A
40 41 $ hg ci -m F
41 42
@@ -452,12 +452,14 b' Interactions between collapse and keepbr'
452 452
453 453 $ hg branch '1'
454 454 marked working directory as branch 1
455 (branches are permanent and global, did you want a bookmark?)
455 456 $ echo 'b' > b
456 457 $ hg ci -Am 'B'
457 458 adding b
458 459
459 460 $ hg branch '2'
460 461 marked working directory as branch 2
462 (branches are permanent and global, did you want a bookmark?)
461 463 $ echo 'c' > c
462 464 $ hg ci -Am 'C'
463 465 adding c
@@ -28,6 +28,7 b' Rebasing descendant onto ancestor across'
28 28
29 29 $ hg branch dev
30 30 marked working directory as branch dev
31 (branches are permanent and global, did you want a bookmark?)
31 32
32 33 $ echo x > x
33 34
@@ -896,6 +896,7 b' Abort early when a merge is in progress'
896 896
897 897 $ hg branch thatbranch
898 898 marked working directory as branch thatbranch
899 (branches are permanent and global, did you want a bookmark?)
899 900
900 901 $ hg ci -m'new head'
901 902
@@ -21,6 +21,7 b''
21 21
22 22 $ hg branch stable
23 23 marked working directory as branch stable
24 (branches are permanent and global, did you want a bookmark?)
24 25 $ echo bar >> a
25 26 $ hg ci -qm2
26 27
@@ -17,22 +17,26 b''
17 17 $ echo a > a
18 18 $ hg branch a
19 19 marked working directory as branch a
20 (branches are permanent and global, did you want a bookmark?)
20 21 $ hg ci -Aqm0
21 22
22 23 $ echo b > b
23 24 $ hg branch b
24 25 marked working directory as branch b
26 (branches are permanent and global, did you want a bookmark?)
25 27 $ hg ci -Aqm1
26 28
27 29 $ rm a
28 30 $ hg branch a-b-c-
29 31 marked working directory as branch a-b-c-
32 (branches are permanent and global, did you want a bookmark?)
30 33 $ hg ci -Aqm2 -u Bob
31 34
32 35 $ hg co 1
33 36 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
34 37 $ hg branch +a+b+c+
35 38 marked working directory as branch +a+b+c+
39 (branches are permanent and global, did you want a bookmark?)
36 40 $ hg ci -Aqm3
37 41
38 42 $ hg co 2 # interleave
@@ -40,12 +44,14 b''
40 44 $ echo bb > b
41 45 $ hg branch -- -a-b-c-
42 46 marked working directory as branch -a-b-c-
47 (branches are permanent and global, did you want a bookmark?)
43 48 $ hg ci -Aqm4 -d "May 12 2005"
44 49
45 50 $ hg co 3
46 51 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
47 52 $ hg branch /a/b/c/
48 53 marked working directory as branch /a/b/c/
54 (branches are permanent and global, did you want a bookmark?)
49 55 $ hg ci -Aqm"5 bug"
50 56
51 57 $ hg merge 4
@@ -53,14 +59,17 b''
53 59 (branch merge, don't forget to commit)
54 60 $ hg branch _a_b_c_
55 61 marked working directory as branch _a_b_c_
62 (branches are permanent and global, did you want a bookmark?)
56 63 $ hg ci -Aqm"6 issue619"
57 64
58 65 $ hg branch .a.b.c.
59 66 marked working directory as branch .a.b.c.
67 (branches are permanent and global, did you want a bookmark?)
60 68 $ hg ci -Aqm7
61 69
62 70 $ hg branch all
63 71 marked working directory as branch all
72 (branches are permanent and global, did you want a bookmark?)
64 73 $ hg ci --close-branch -Aqm8
65 74 abort: can only close branch heads
66 75 [255]
@@ -69,6 +78,7 b''
69 78 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
70 79 $ hg branch é
71 80 marked working directory as branch \xc3\xa9 (esc)
81 (branches are permanent and global, did you want a bookmark?)
72 82 $ hg ci -Aqm9
73 83
74 84 $ hg tag -r6 1.0
@@ -43,6 +43,7 b' Two changesets this time so we rollback '
43 43 Test issue 902 (current branch is preserved)
44 44 $ hg branch test
45 45 marked working directory as branch test
46 (branches are permanent and global, did you want a bookmark?)
46 47 $ hg rollback
47 48 repository tip rolled back to revision 0 (undo commit)
48 49 working directory now based on revision 0
@@ -58,6 +59,7 b' Test rollback of hg before issue 902 was'
58 59 $ hg commit -m "test3"
59 60 $ hg branch test
60 61 marked working directory as branch test
62 (branches are permanent and global, did you want a bookmark?)
61 63 $ rm .hg/undo.branch
62 64 $ hg rollback
63 65 repository tip rolled back to revision 0 (undo commit)
@@ -407,6 +407,7 b" shouldn't need merging"
407 407 adding a
408 408 $ hg branch br
409 409 marked working directory as branch br
410 (branches are permanent and global, did you want a bookmark?)
410 411 $ echo a >> a
411 412 $ hg ci -m1
412 413 $ hg up default
@@ -457,6 +458,7 b" shouldn't need merging"
457 458 committing subrepository s
458 459 $ hg branch br
459 460 marked working directory as branch br
461 (branches are permanent and global, did you want a bookmark?)
460 462 $ echo b > b
461 463 $ hg -R s up 3
462 464 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
@@ -207,6 +207,7 b' tag and branch using same name'
207 207
208 208 $ hg branch tag-and-branch-same-name
209 209 marked working directory as branch tag-and-branch-same-name
210 (branches are permanent and global, did you want a bookmark?)
210 211 $ hg ci -m"discouraged"
211 212 $ hg tag tag-and-branch-same-name
212 213 warning: tag tag-and-branch-same-name conflicts with existing branch name
@@ -278,6 +279,7 b' tagging on an uncommitted merge (issue25'
278 279 $ hg co -q 0
279 280 $ hg branch b1
280 281 marked working directory as branch b1
282 (branches are permanent and global, did you want a bookmark?)
281 283 $ hg ci -m2
282 284 $ hg up default
283 285 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
@@ -6,6 +6,7 b' Test basic functionality of url#rev synt'
6 6 $ hg ci -qAm 'add a'
7 7 $ hg branch foo
8 8 marked working directory as branch foo
9 (branches are permanent and global, did you want a bookmark?)
9 10 $ echo >> a
10 11 $ hg ci -m 'change a'
11 12 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now