[PATCH 2 of 3 V4] journal: add share extension support
Yuya Nishihara
yuya at tcha.org
Mon Jul 11 13:27:35 UTC 2016
On Mon, 11 Jul 2016 14:06:59 +0100, Martijn Pieters wrote:
> # HG changeset patch
> # User Martijn Pieters <mjpieters at fb.com>
> # Date 1468242388 -3600
> # Mon Jul 11 14:06:28 2016 +0100
> # Node ID 683b5ae18dd24adf95c4275a9c2cbb83e4f551c0
> # Parent ccd47220f3d910ac2c682ec1c53e3a660b7b3e8f
> journal: add share extension support
> +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')):
> + if repo.shared() and util.safehasattr(repo, 'journal'):
Which one should we take?
More information about the Mercurial-devel
mailing list