##// END OF EJS Templates
test-clone.t: check that branch "@" is not automatically checked out...
Thomas Arendsen Hein -
r17869:c79b404b stable
parent child Browse files
Show More
@@ -318,8 +318,43 b" Branch 'default' is checked out:"
318 date: Thu Jan 01 00:00:00 1970 +0000
318 date: Thu Jan 01 00:00:00 1970 +0000
319 summary: hacked default
319 summary: hacked default
320
320
321 Test clone with a branch named "@" (issue3677)
321
322
322 $ rm -r ua
323 $ hg -R ua branch @
324 marked working directory as branch @
325 (branches are permanent and global, did you want a bookmark?)
326 $ hg -R ua commit -m 'created branch @'
327 $ hg clone ua atbranch
328 updating to branch default
329 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
330 $ hg -R atbranch heads
331 changeset: 16:798b6d97153e
332 branch: @
333 tag: tip
334 parent: 12:f21241060d6a
335 user: test
336 date: Thu Jan 01 00:00:00 1970 +0000
337 summary: created branch @
338
339 changeset: 15:0aae7cf88f0d
340 branch: stable
341 user: test
342 date: Thu Jan 01 00:00:00 1970 +0000
343 summary: another change for branch stable
344
345 changeset: 12:f21241060d6a
346 user: test
347 date: Thu Jan 01 00:00:00 1970 +0000
348 summary: hacked default
349
350 $ hg -R atbranch parents
351 changeset: 12:f21241060d6a
352 user: test
353 date: Thu Jan 01 00:00:00 1970 +0000
354 summary: hacked default
355
356
357 $ rm -r ua atbranch
323
358
324
359
325 Testing #<branch>:
360 Testing #<branch>:
General Comments 0
You need to be logged in to leave comments. Login now