Stephen J. Turnbull wrote:
The user-specified list of subrepos lives in .hgsub. The list of
current commits lives in .hgsubstate. (These are siblings of .hg in
the parent repository.)
Could it hurt to automatically define Patcher subprojects for all
subrepos?
I assume that you mean to do that dynamically (Patcher itself parsing
.hgsub). Otherwise, that wouldn't be really satisfactory (would require
regular updating etc).
But in fact, it might even be simpler to do. Patcher already knows how
to deal with a /permanent/ subproject based on a single project's
subdirectory (in such a case, the commands are executed in that
subdirectory which is what we want). I need to clean up the code so that
it is also possible for temporary subprojects (C-u M-x patcher-mail for
instance). This way, you won't ever need to maintain a list of subrepos.
--
Resistance is futile. You will be jazzimilated.
Scientific site:
http://www.lrde.epita.fr/~didier
Music (Jazz) site:
http://www.didierverna.com
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta