Mercurial > hg
changeset 6311:a079cf630065
Add default local() and cancopy() methods to repository base class
author | John Mulligan <phlogistonjohn@asynchrono.us> |
---|---|
date | Sat, 15 Mar 2008 15:23:20 -0400 |
parents | 1a13a5bbbbc1 |
children | 08800489257e |
files | mercurial/repo.py |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/repo.py Fri Mar 07 16:19:46 2008 +0100 +++ b/mercurial/repo.py Sat Mar 15 15:23:20 2008 -0400 @@ -34,3 +34,10 @@ raise NoCapability(_('cannot %s; remote repository does not ' 'support the %r capability') % (purpose, name)) + + def local(self): + return False + + def cancopy(self): + return self.local() +