hg question

Steve Borho steve at borho.org
Tue Mar 1 02:35:55 UTC 2011


On Mon, Feb 28, 2011 at 8:32 PM, Don Cohen
<don-sourceforge-xxz at isis.cs3-inc.com> wrote:
> Steve Borho writes:
>  > 0.9 can't see the named branches so you got the tipmost head instead,
>  > which just happens to be a closed branch.
>  >
>  > You most likely need one of the other 35 heads.  The 'hg heads'
>  > command will list them.
> Actually, that command lists 32 changesets all with
> summary:     close an obsolete branch
> and then at the very end,
> changeset:   15245:840f66c02892
> parent:      15243:3023e90ed459
> user:        cvs2hg
> date:        Thu Feb 24 11:51:17 2011 -0500
> summary:     convert CVS tags
>
> I took a guess and tried
>  hg update 15245
> which says
>  this update spans a branch affecting the following files:
>  ... about a thousand lines
>  aborting update spanning branches!
>  (use 'hg merge' to merge across branches or 'hg update -C' to lose changes)
>
> What should I do to get the working copy ?
> Is there a way to automate the process of identifying the right branch
> in my daily cron job that does the pull?
>
> I have it all working on another machine.  How can I use that one
> to determine which head it's using?

hg up --clean 840f66c02892

-- 
Steve Borho


More information about the Mercurial mailing list