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

Martijn Pieters mj at zopatista.com
Mon Jul 11 09:41:24 EDT 2016


On 11 July 2016 at 14:26, Yuya Nishihara <yuya at tcha.org> wrote:
>> 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.


My apologies, I meant to respond to that too but forgot.

In theory you could have the journal extension disabled when you first
shared; the 'journal\n' entry in .hg/shared shows that it was enabled
when sharing started. This allows for the journal to be enabled only
for one of the shared working copies.

-- 
Martijn Pieters


More information about the Mercurial-devel mailing list