Mercurial > public > mercurial-scm > hg
comparison mercurial/remoterepo.py @ 2484:eabcda3ed0dd
remove duplicate code.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Wed, 21 Jun 2006 22:45:29 -0700 |
parents | 59b3639df0a9 |
children | ffb895f16925 |
comparison
equal
deleted
inserted
replaced
2483:5583d5ef257e | 2484:eabcda3ed0dd |
---|---|
4 # | 4 # |
5 # This software may be used and distributed according to the terms | 5 # This software may be used and distributed according to the terms |
6 # of the GNU General Public License, incorporated herein by reference. | 6 # of the GNU General Public License, incorporated herein by reference. |
7 | 7 |
8 class remoterepository(object): | 8 class remoterepository(object): |
9 def dev(self): | |
10 return -1 | |
11 | |
9 def local(self): | 12 def local(self): |
10 return False | 13 return False |
11 | 14 |
12 class remotelock(object): | 15 class remotelock(object): |
13 def __init__(self, repo): | 16 def __init__(self, repo): |