comparison tests/test-clone.t @ 17869:c79b404b99ae stable

test-clone.t: check that branch "@" is not automatically checked out This verifies that c9339efed653 fixes the second problem mentioned in issue3677.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 26 Oct 2012 13:20:44 +0200
parents 92980a8dfdfe
children 52c7e171e355
comparison
equal deleted inserted replaced
17868:04755508f8ed 17869:c79b404b99ae
316 changeset: 12:f21241060d6a 316 changeset: 12:f21241060d6a
317 user: test 317 user: test
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 321 Test clone with a branch named "@" (issue3677)
322 $ rm -r ua 322
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>:
326 361
327 $ hg clone -u . a#stable ua 362 $ hg clone -u . a#stable ua