[Yanel-dev] First prototype re commenting resources

Cedric Staub cs.staub at cssx.ch
Tue Mar 8 17:13:12 CET 2011


On Tue, Mar 08, 2011 at 05:00:20PM +0100, Balz Schreier wrote:
> I think it is easier for people who want to check your "patch" by mentioning
> the "mercurial branch id",

It's more of a commit-id rather than a branch-id, as it identifies the
specific commit. If you want to refer to the branch as a whole, I would
suggest pushing your bookmark for it to the server.

> in your case that would be 7cd454a6d861,
> 
> then people can just do
> hg pull michi 7cd454a6d861

hg pull [-r REV] [-b BRANCH] [-B BOOKMARK] [SOURCE]

REV refers to changesets
BRANCH refers to named branches
BOOKMARK refers to bookmarks

> but that doesn't work by providing the id ;-) But i'm sure there is a way of
> getting a specific revision from a remote repository... Cedric? ;-)

Plese refer to
    hg push --help
    hg pull --help

You can push/pull specific changesets by with the -r option, and you can
also push/pull specific bookmarks or branches with -B/-b respectively.

Cheers
Cedric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20110308/488d8025/attachment.pgp>


More information about the Yanel-development mailing list