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

Martijn Pieters mj at zopatista.com
Mon Jul 11 09:46:37 EDT 2016


On 11 Jul 2016, at 14:27, Yuya Nishihara <yuya at tcha.org> wrote:
> 
> Which one should we take?

I'll take a brown bag on my head, thanks :-( I was double-checking the issue and amended *with* the debug commentary.

It should read:

> +def unsharejournal(orig, ui, repo, repopath):
> +    """Copy shared journal entries into this repo when unsharing"""
> +    if (repo.path == repopath and repo.shared() and
> +            util.safehasattr(repo, 'journal')):
> +        sharedrepo = share._getsrcrepo(repo)

of course.

Want a V5 of this one?

Martijn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20160711/41f1b074/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20160711/41f1b074/attachment.sig>


More information about the Mercurial-devel mailing list