Short revision numbers - are they shared now?

Kastner Masilko, Friedrich kastner-masilko at at.festo.com
Fri Feb 21 08:24:40 UTC 2014


> From: mercurial-bounces at selenic.com [mailto:mercurial-bounces at selenic.com] On Behalf Of anatoly techtonik
> 
> I've just noticed that short revision numbers are not consecutive for
> my repository. Are they shared now?
> Meaning that I can reference short revisions in they are gone public?

AFAIK, this is not the case. It may seem to be that way if you always push/pull all revisions, especially while using a central "server" clone. Revision numbers are essential the chronological order of commit creation in your repository clone, that can of course vary across clones. E.g. if you do work in parallel with a colleague, his commit will be first in his repository, followed by your commit, while your commit will be first in your repository, followed by his commit. At the moment of parallel work, both of you will see the latest revision number as your commits, while after push/pull, both of you will see the latest revision number as your colleague's commit, respectively.

I wouldn't know how you should go about sharing this revision number concept consistently within the DVCS concept. At one point in time, it will always be ambiguous.

Non-consecutive revision numbers might be due to hidden changesets and/or log filtering. A plain "hg log --hidden" should always show consecutive numbers IMHO.

Regards,
Fritz


Development Software Systems
Festo Gesellschaft m.b.H.
Linzer Strasse 227
Austria - 1140 Wien

Firmenbuch Wien
FN 38435y
UID: ATU14650108

Tel: +43(1)91075-198
Fax: 
www.festo.at

Der Inhalt dieser E-Mail und moeglicher Anhaenge sind ausschliesslich fuer den bezeichneten Adressaten bestimmt.
Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail und
moeglicher Anhaenge durch unberechtigte Dritte ist unzulaessig. Wir bitten Sie, sich mit dem Absender der E-Mail in
Verbindung zu setzen, falls Sie nicht der Adressat dieser E-Mail sind sowie das Material von Ihrem Computer zu loeschen.

This e-mail and any attachments are confidential and intended solely for the addressee. The perusal, publication, copying or
dissemination of the contents of this e-mail by unauthorised third parties is prohibited. If you are not the intended recipient of this
e-mail, please delete it and immediately notify the sender.




More information about the Mercurial mailing list