[PATCH] clone: update to @ bookmark if it exists

Thomas Arendsen Hein thomas at intevation.de
Tue Oct 23 05:33:52 CDT 2012


* dsp at php.net <dsp at php.net> [20121023 12:12]:
> On Tue 23 Oct 2012 12:04:14 PM CEST, Thomas Arendsen Hein wrote:
> > * Kevin Bullock <kbullock+mercurial at ringworld.org> [20120828 17:52]:
> >> # HG changeset patch
> >> # User Kevin Bullock <kbullock at ringworld.org>
> >> # Date 1332366819 18000
> >> # Node ID 579afc1a4378a55f64f6fd185f3de40da5bfbb4a
> >> # Parent  99a2a4ae35e2180b7f825ef2677c36d538eac4ba
> >> clone: update to @ bookmark if it exists
> >
> > This is in 2.4-rc now and I have just used it for the first time.
> >
> > One thing confuses me: Shouldn't the bookmark "@" be active after
> > the clone? Currently it isn't
> 
> I think it should

hg clone foo
hack in foo
hg ci -m fix
hg push
... the next one who pulls does not get the fix and there never was
a message that something special happened.

So I'd say this is a must-have feature.

Additionally I noticed that:
1. mercurial.hg.share does not handle the @ bookmark
2. mercurial.hg.clone and mercurial.hg.share have separate
   implementations for the update code

Regards,
Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Neuer Graben 17, 49074 Osnabrueck - AG Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Mercurial-devel mailing list