contrib/wix/COPYING.rtf
author Angel Ezquerra <angel.ezquerra@gmail.com>
Sun, 21 Dec 2014 00:19:10 +0100
changeset 23666 965788d9ae09
parent 15782 7de7630053cb
child 24191 8fe5fc8d7b8e
permissions -rw-r--r--
localrepo: introduce shared method to check if a repository is shared Up until now we compared the "path" and "sharedpath" repository properties to check if a repository is shared. This was relying an implementation detail of shared repositories. In order to make it possible to change the way shared repositories are implemented, we encapsulate this check into its own localrepo method, called shared. This new method returns None if the repository is shared, and something else (for now a string describing the short of share) otherwise. The reason why I did not call this method "isshared" and made it return a boolean is that I plan to introduce a new type of shared repository soon. # NOTES: This is the first patch in a series whose purpose is to add support for creating "full repository shares", which are repositories that share everything with the repository source except their current revision, branch and bookmark. This series is RFC because I am not very sure of some of the solutions I took. Comments are welcome!
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15782
7de7630053cb Remove FSF mailing address from GPL headers
Martin Geisler <mg@aragost.com>
parents: 10552
diff changeset
     1
(binary:application/rtf)