clone command is returning wrong version in workspace
Brian Wallis
brian.wallis at infomedix.com.au
Thu Apr 17 02:30:07 UTC 2008
This is quite odd. I run a clone command from a repository that has
multiple named branches. The clone is to return one of those branches
(a release branch, b2_1_5) which was branched from the default line a
while back.
The clone is returning the correct set of changesets but the
workspace is only updated to the changeset where the branch was
taken, not the first changeset of the branch but the last one before
the branch.
Shouldn't the clone command update to the latest changeset?
Both the server and local machine have version 1.0 of mercurial
installed.
> flatmac42% hg clone -r b2_1_5 ssh://scm@im-vm-scm//repository/hg/
> Working b2_1_5
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 2606 changesets with 17669 changes to 9747 files
> updating working directory
> 8497 files updated, 0 files merged, 0 files removed, 0 files
> unresolved
> flatmac42% cd b2_1_5
> flatmac42% hg id -bin
> 9db81eceb67f 2449 default
> flatmac42% hg heads
> changeset: 2605:36704acc6b2f
> branch: b2_1_5
> tag: tip
> parent: 2604:7cf2b21808c0
> parent: 2602:ad2f27c05cc2
> user: bwallis at flatmac42.objectconsulting.com.au
> date: Thu Apr 17 10:35:09 2008 +1000
> summary: Merged in the rename of build.hudson.unix.properties
> to build.build.unix.properties
>
> flatmac42% hg branches
> b2_1_5 2605:36704acc6b2f
> default 2449:9db81eceb67f (inactive)
Brian Wallis
InfoMedix
p: 3 8615 4553 | f: 3 8615 4501 | e: brian.wallis at infomedix.com.au
Level 5, 451 Little Bourke Street, Melbourne VIC 3000
More information about the Mercurial
mailing list