[ANN] Announcing new extension for alternative subrepo functionality.

Jason Harris jason at jasonfharris.com
Fri Aug 10 12:59:29 UTC 2012


Thanks for producing this:

A couple of questions on quest repos:

(i) What is the minimum mercurial version this extension works with?

(ii) Is there going to be any way to freeze and lay down a tag / bookmark at the same time.

Ie it would be nice to be able to say

grfreeze --add-tag 'release_3_0_4'
grfreeze --add-bookmark 'release_3_0_4'

And that would add / move the tag / bookmark at freeze time, and set the tag to be the csid in the .hgguestrepo file.

(iii) just to be clear the .hggrmapping and .hgguestrepo files should normally be committed to the repository and versioned correct? 

(iv) What is the best way to update to a previous version across all the repositories?

I take it this would be done by

hg update --rev release_3_0_4
hg grsynch

Is this correct?

(v) it would be nice to specify a decreasingly weaker changeset-id specification

Eg one could say in the .hgguestrepo (form path/to/guest = remoteid csid1 csid2 csid3 ...)

for example:

/Users/jason/Development/MacHg/RegexKit = RegexKitOnBitBucket b72a9860d1ca release_3_0_4 release_3 tip

Where if the b72a9860d1ca exists it can be synced, if that specific changeset can't be found it falls back to the tag / bookmark / branch release_3_0_4 if that can't be found it falls back to release_3 and if that can't be found it falls back to the 'tip' of the Regexkit repo.

That way when errors occur there is a fallback...

(vi) I like the grstate command as well.

Cheers,
   Jason


More information about the Mercurial mailing list