[PATCH] Issue919: add a standard extension to recreate hardlinks between repositories
Benoit Boissinot
benoit.boissinot at ens-lyon.org
Fri Oct 30 00:04:45 UTC 2009
On Thu, Oct 29, 2009 at 02:41:35PM -0400, Jesse Glick wrote:
> Jesse Glick wrote:
> > Issue919: add a standard extension to recreate hardlinks between repositories.
>
> Any opinions on this forgotten patch? I find it quite useful. (Issue
> has a version which applies against current dev sources; can post here
> inline if desired.)
Please do. Some comments:
- It would be better to have relink be a "repo" command,
e.g. "hg relink foo" to relink the repo you're in based on foo
"hg relink" would look at the default path (and maybe first look if a
default-relink is defined?)
- It should probably lock both repos while the extension is running
- It could use repo.store.walk() or repo.store.datafiles() to find the
revlogs.
- Please try to separate the patches, so that it's easier to review (and
the non-controversial bits could be applied directly)
(and CC me on your patches to get my attention)
thanks!
Benoit
--
:wq
More information about the Mercurial-devel
mailing list