Forest

Thomas Arendsen Hein thomas at intevation.de
Thu Feb 28 16:34:16 CST 2008


* Florent Guillaume <fg at nuxeo.com> [20080228 01:46]:
> I'm considering integrating the forest extension directly into the  
> main hg commands, so that for instance you can "hg pull" and if forest  
> is enabled it would do the equivalent of current "hg fpull".

This is a good idea. I thought the same for pull on a repo cloned
with qclone to avoid the confusing qpull (where qpush means
something completely different).

> I have code organization questions: would you prefer that I just add a  
> small stub to call forest stuff in commands.py, or the code in whole  
> in commands.py, or modify things at the hg.py level, or something else?

Doing this at the Python API level has the benefit that it is not
only used by the command line, but e.g. by frontends, too.

> Also, should forest commands be able to move "up" to detect the root  
> of the forest, so that you can (for instance) pull from anywhere  
> inside the forest?

Not sure about that, sounds like too much magic.

Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Mercurial-devel mailing list