Splitting working dir away from repository. Is it possible?

Matt Mackall mpm at selenic.com
Tue Jan 22 10:12:42 CST 2008


[cc:ed back to the list]

On Tue, 2008-01-22 at 08:39 -0500, Douglas Philips wrote:
> On 2008 Jan 18, at 1:43 PM, Matt Mackall indited:
> > On Fri, 2008-01-18 at 12:20 -0500, Douglas Philips wrote:
> >> No doubt I can do that with various trickeries (depending on the
> >> platform), and so the question is whether or not hg should be
> >> friendly or even embrace that, and if so, at what cost...
> >
> > The biggest cost of course is developer time. Shared repositories have
> > been on the todo list for a while.
> 
> Are there design notes or sketches or ... somewhere? I've been  
> searching through the wiki and bug list, but apparently I can't  
> formulate the correct search...

The design sketch is:

- add a .hg/hgrc setting or other file to indicate the path of the
shared store directory
- use it to set localrepository.spath
- add a "shared" field to the requires file
- solve or otherwise avoid the problems of doing a rollback on a shared
repository

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list