[PATCH] Strip out extraneous parts of the file path when doing a fetch from local repo
Thomas Arendsen Hein
thomas at intevation.de
Sun Mar 2 15:40:46 CST 2008
* Alexis S. L. Carvalho <alexis at cecm.usp.br> [20080302 22:29]:
> Thus spake Thomas Arendsen Hein:
> > I'd vote for completely dropping paths for local repositories.
> > This can easily be checked with hg.islocal() or repo.local()
> > The directory name might be private, too, e.g.
> > "fixes-for-customer-xyz" (or just "xyz", which might be as
> > problematic as the long name).
> > On a second thought even http/ssh repos might contain private names,
> > so should the path be removed everywhere unless one configures fetch
> > to enable it?
> And what would the commit message look like? Just "Automated merge." is
> not very useful...
It is an automated merge, only a human (or external service) can
tell if the given URL is public.
Maybe just a flag to enable the old/current style? Or a templater?
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