glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] hg question


From: Kai Antweiler
Subject: Re: [glob2-devel] hg question
Date: Mon, 30 Apr 2007 13:30:44 +0200

I imagine that both pull and push have to be done with explicit -r "master"?

Depending on what you want to do.  When you push with "-r master" hg
will determine all changesets that let to the latest master revision
(i.e: its history), but are not in the target repository.
Only those will be pushed.
See: "hg outgoing -r master"

Without "-r master" it push will determine the required changesets
for all heads, so that after your push all revisions will be in
the target repository.

By the way:
In contrast to cvs the revision-numbers can change and also differ in
repositories with different sets of revsions.
So if anyone wants to specify an revision, he'll have to use its hash.


In particular, even if rep was cloned using branch, push still requires -r,
right?

No, this won't be neccessary - unless you have created or pulled other
branches or don't want to push your tip.  On the other hand it doesn't
harm to use "-r".

--
Kai Antweiler




reply via email to

[Prev in Thread] Current Thread [Next in Thread]