tests/test-check-interfaces.py.out
author Gregory Szorc <gregory.szorc@gmail.com>
Wed, 19 Sep 2018 17:05:59 -0700
changeset 39853 4ece3cdfd907
parent 37320 39f7d4ee8bcd
permissions -rw-r--r--
localrepo: support shared repo creation Previously, hg.share() had its own logic for creating a new repository on the filesystem. With the recent introduction of the createopts dict for passing options to influence repository creation, it is now possible to consolidate the repo creation code for both the normal and shared use cases. This commit teaches the repo creation code in localrepo to recognize when we're creating a shared repo and to act appropriately. Meaningful behavior should be identical. However, there are a few subtle changes: * The .hg/requires file is written out in sorted order (rather than having share-related requirements appended at end). * The .hg directory is created with notindexed=True when a shared repo is being created. Differential Revision: https://phab.mercurial-scm.org/D4707
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37320
39f7d4ee8bcd repository: port peer interfaces to zope.interface
Gregory Szorc <gregory.szorc@gmail.com>
parents: 33828
diff changeset
     1
public attribute not declared in interfaces: badpeer.badattribute
39f7d4ee8bcd repository: port peer interfaces to zope.interface
Gregory Szorc <gregory.szorc@gmail.com>
parents: 33828
diff changeset
     2
public attribute not declared in interfaces: badpeer.badmethod