[PATCH 1 of 6 V2 RFC] localrepo: introduce shared method to check if a repository is shared

Pierre-Yves David pierre-yves.david at ens-lyon.org
Tue Dec 30 16:00:48 CST 2014



On 12/26/2014 03:46 AM, Angel Ezquerra wrote:
> # HG changeset patch
> # User Angel Ezquerra <angel.ezquerra at gmail.com>
> # Date 1419117550 -3600
> #      Sun Dec 21 00:19:10 2014 +0100
> # Node ID b213f4439d5427cfff6c7fa28927c25e4422a948
> # Parent  67d63ec85eb72187508692e52f14be46101707a5
> localrepo: introduce shared method to check if a repository is shared

According to the "Localrepo Diet Act" adding rarely used method on the 
localrepository class is a criminal offense. Can we stick this as a 
function in the shared extensions instead?

Moreover, we recently added the option to share bookmark. Could we use a 
different "type" for this case too?

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list