[PATCH 2 of 3 V3] journal: add share extension support

Yuya Nishihara yuya at tcha.org
Mon Jul 11 09:26:18 EDT 2016


On Sat, 9 Jul 2016 00:24:13 +0900, Yuya Nishihara wrote:
> On Thu, 07 Jul 2016 18:00:06 +0100, Martijn Pieters wrote:
> > # HG changeset patch
> > # User Martijn Pieters <mjpieters at fb.com>
> > # Date 1467714538 -3600
> > #      Tue Jul 05 11:28:58 2016 +0100
> > # Node ID e125ff50245cb519307dc75d606c9c8061784488
> > # Parent  1f282c1e1df71e1a433df354000feed5c06ad625
> > journal: add share extension support
> >
> > Rather than put everything into one journal file, split entries up in *shared*
> > and *local* entries. Working copy changes are local to a specific working copy,
> > so should remain local only. Other entries are shared with the source if so
> > configured when the share was created.  
> 
> So operations are recorded to the journal storage where they should belong,
> which makes me feel the new shared feature, "journal", is unnecessary. We'd
> always want to record bookmark changes to the source repo if bookmarks are
> shared.

Any thought about this?

In short, I don't think it's necessary to write "journal\n" to .hg/shared.


More information about the Mercurial-devel mailing list