clone with named branches (was Re: 0.9.4 does not correctly update my project)

Dustin Sallings dustin at spy.net
Sun Jul 8 23:52:23 CDT 2007


	OK, within seconds of hitting send, I figured out what's special  
about db0f9fb34cf1 -- it was the last changeset before I discovered  
named branches.

	The meaning of the ``default'' branch isn't completely clear, and  
I'm obviously using named branches incorrectly.

	Sorry for the confusion.  The change in behavior sort of freaked me  
out.

On Jul 8, 2007, at 21:23, Dustin Sallings wrote:

>
> 	0.9.4 does not update to tip on ``hg update'' or ``hg clone''
> Example tree:
>
> 	http://hg.west.spy.net/hg/memcached/
>
> 0.9.3 transcript:
> purple:/tmp 553> hg clone http://hg.west.spy.net/hg/memcached/
> destination directory: memcached
> requesting all changes
> adding changesets
> cd adding manifests
> adding file changes
> added 151 changesets with 379 changes to 72 files
> 52 files updated, 0 files merged, 0 files removed, 0 files unresolved
> purple:/tmp/memcached 556> hg tip
> changeset:   150:66cd736a64a7
> branch:      1.4
> tag:         tip
> user:        Dustin Sallings <dustin at spy.net>
> date:        Sun Jul 08 15:14:16 2007 -0700
> summary:     Reformatting in HashAlgorithm.
>
> purple:/tmp/memcached 557> hg identify
> 66cd736a64a7 (1.4) tip
> purple:/tmp/memcached 558> cat TODO
> - JSON Transcoder
>
>
> 0.9.4 transcript:
> dustinmb:/tmp 544% hg clone http://hg.west.spy.net/hg/memcached/
> destination directory: memcached
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 151 changesets with 379 changes to 72 files
> 28 files updated, 0 files merged, 0 files removed, 0 files unresolved
> 0.357u 0.572s 0:01.84 50.0%     0+0k 0+66io 0pf+0w
> dustinmb:/tmp 545% cd memcached/
> dustinmb:/tmp/memcached 546% hg tip
> changeset:   150:66cd736a64a7
> branch:      1.4
> tag:         tip
> user:        Dustin Sallings <dustin at spy.net>
> date:        Sun Jul 08 15:14:16 2007 -0700
> summary:     Reformatting in HashAlgorithm.
>
> dustinmb:/tmp/memcached 547% hg identify
> db0f9fb34cf1  ####  Note, this is changeset 39 of 150 in this clone
> dustinmb:/tmp/memcached 548% cat TODO
> * Store operations should return something more useful than strings.
> * delete and flush need to return futures.
> * Write up some more overview documentation, download links, etc...
>
> --
> arch-tag: C9F77020-C89A-4ABD-8B5A-28593C8E09ED
>
>
> 	It updates to the same arbitrary changeset if I clone with -U and up
> manually.  There's no tag with this changeset, and the tree only has
> one head.
>
> 	It doesn't seem to have lost information, but this behavior scared
> the hell out of me.
>
> -- 
> Dustin Sallings
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>

-- 
Dustin Sallings




More information about the Mercurial mailing list