Bookmarks with hg update question

Andrew Fischer andrew at apastron.co
Fri Jul 1 15:11:02 UTC 2016


On Thu, Jun 30, 2016 at 6:53 PM, Sietse Brouwer <sbbrouwer at gmail.com> wrote:
> <snip>
>
> Workarounds bookmark users currently use
> ========================================
>
> James Reynolds asked: is there a setting that will prevent bookmarks from
> moving when running `hg up`?
>
> Andrew Fischer's team used a bashrc setting that blocks bare `hg update`
>
> Mischa Becker used `hg up current~0` to update to a bookmark without
> activating it.
>
> David Demelier advised `hg pull -B the_bookmark_name` to put an
> inadvertently moved bookmark back in its old place.
> _______________________________________________

Thanks Sietse for that summary of the thread so far. I actually missed the
last suggestion: 'hg pull -B the_bookmark_name' to restore a moved
bookmark, that's helpful to know!

Great to see all of this discussion happening. I've been a mercurial
proponent for years, and the bookmark update is the only behaviour I
consistenly have trouble with when introducing it to other users.

-Andrew


-- 
Andrew Fischer, PhD
Apastron, Co
903 1st ST N Hopkins, MN
952-373-1024
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20160701/f630fb9e/attachment.html>


More information about the Mercurial mailing list