How to uniquely identify a given clone of a repository
Wagner Bruna
wagner.bruna at gmail.com
Thu Aug 13 21:13:40 UTC 2009
Hello,
Christophe Attias wrote:
> We are trying to get our developers using Mercurial in the development
> cycle.
> But we are looking for a way to uniquely identify a given clone of a
> repository.
> I'm not talking about the way to identify a repository by its first revision
> (using hg log -r0 --template '{node}') because in this case all clones will
> have the same id.
Maybe a local tag on revision 0 could help for that. It'd show up on
"hg log -r0 --template '{tags}'" and be visible on the web interface,
and wouldn't be propagated to a new clone. You'd need to manually
create it and ensure its uniqueness, though.
Hope that helps,
Wagner
More information about the Mercurial
mailing list