[PATCH] bookmarks: add paragraph on pushing and pulling to help

Kevin Bullock kbullock+mercurial at ringworld.org
Tue Oct 19 12:57:42 CDT 2010


On Oct 19, 2010, at 12:42 PM, Kevin Bullock wrote:

> hgext/bookmarks.py |  4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
> 
> 
> # HG changeset patch
> # User Kevin Bullock <kbullock at ringworld.org>
> # Date 1287510009 18000
> # Node ID 462ecf4669d50d51f5dfc5a00aedf8461ea9fb8f
> # Parent  338b4b615d33e19e208441a6fdce1bdbd56c08a1
> bookmarks: add paragraph on pushing and pulling to help
> 
> Text adapted from http://mercurial.selenic.com/wiki/BookmarksExtension
> 
> diff --git a/hgext/bookmarks.py b/hgext/bookmarks.py
> --- a/hgext/bookmarks.py
> +++ b/hgext/bookmarks.py
> @@ -103,6 +103,10 @@
>     directory's parent revision with the given name. If you specify
>     a revision using -r REV (where REV may be an existing bookmark),
>     the bookmark is assigned to that revision.
> +
> +    Bookmarks can be pushed and pulled between repositories (see
> +    :hg:`help push` and :hg:`help pull`). This requires the bookmark
> +    extension to be enabled on both sides.
>     '''
>     hexfn = ui.debugflag and hex or short
>     marks = repo._bookmarks

We're discussing some wording refinements on IRC. Don't queue this yet—I'll resend in a few minutes.

pacem in terris / mir / shanti / salaam / heiwa
Kevin R. Bullock




More information about the Mercurial-devel mailing list