[PATCH] introduce dotpath repositories (issue793)

Matt Mackall mpm at selenic.com
Tue Jun 17 11:59:25 CDT 2008


On Tue, 2008-06-17 at 18:37 +0200, Adrian Buehlmann wrote:
> On 17.06.2008 17:56, Matt Mackall wrote:
> > On Tue, 2008-06-17 at 11:58 +0200, Adrian Buehlmann wrote:
> >> # HG changeset patch
> >> # User Adrian Buehlmann <adrian at cadifra.com>
> >> # Date 1213657406 -7200
> >> # Node ID 167916a01b15fec17d27f5998b882c8609f79303
> >> # Parent  bb1575f74f27070e3c58083608837c192dd8df35
> >> introduce dotpath repositories (issue793)
> >>
> >> This change adds a new entry 'dotpath' in the .hg/requires file
> >> of new repositories.
> > 
> > Have you considered that this will really confuse people on Unix?
> 
> In that variant, it's more a demonstration that the whole testsuite
> passes fine with that new encoding code in effect for all tests
> and that the patch is in accordance with CompatibilityRules.
> 
> I intend to do a variant of the patch, where the new encoding is
> *off* by default for new repos and can be turned on with a let's say
> 
> [format]
> dotpath = True
> 
> in the default per install Mercurial.ini of the binary Windows
> packages.

The whole point of this exercise is to improve the ability of Unix and
Windows folks to share repos, right? Perhaps, say, via a network drive
or USB stick. Making all the repo files apparently vanish for half the
users doesn't seem like the best way to do that. Yes, it's dead simple,
but there are numerous other dead simple alternatives that leave the
names readable.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list