Who is using subrepos?

Arne Babenhauserheide arne_bab at web.de
Thu Oct 20 00:04:46 CDT 2011


Am Mittwoch, 19. Oktober 2011, 11:37:12 schrieb Martin Geisler:
> Crew or not, the important thing for me is whether or not the people who
> contribute to Mercurial are using subrepos. So far I think we've only
> heard from people who use them for company projects:
…
> * Arne Babenhauserheide: yes, including Git and SVN subrepos

This is for my private projects: 

→ https://bitbucket.org/ArneBab/1w6/https://bitbucket.org/ArneBab/.emacs.d

In the latter they serve to seperate the main code from dependencies and from 
private data (which I don’t share: I created a placeholder repo which is used 
by the default branch - and is mostly empty). 

What disturbs my workflow the most is that there is no easy way to tell 
Mercurial, that: 

* the subrepos did not change (it would be nice if it could track the last 
pushed version), so it need only push the main repo (saving time)

* a subrepo is unnecessary (try cloning my .emacs.d on a system which has no 
git…)

* it should use a different source for the subrepo when updating, so I can 
actually reach a non-working revision and change the subrepo path to one that 
works (or remove it). At the moment you can nuke parts of my repo by taking 
down one of the dependencies for a revision in the repo for which I have no 
working copy. I then won’t be able to switch to that revision anymore.

Best wishes, 
Arne
--
Ein Würfel System - einfach saubere Regeln: 

- http://1w6.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part.
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20111020/b84635f0/attachment.pgp>


More information about the Mercurial-devel mailing list