def __init__(self, path=None): WorkingCopy.__init__(self) self.path = path or os.getcwd() self.workingtree = WorkingTree.open(self.path) self.repository = BazaarRepository(self.workingtree.branch.user_url) #self.repository.working_copy = self self._current_version = self.repository._repository.revno()
def __init__(self, path=None): WorkingCopy.__init__(self, path) self.path = os.path.realpath(path) client = pysvn.Client() try: url = client.info(self.path).url except pysvn.ClientError: pass else: self.repository = SubversionRepository(url)
def __init__(self, path=None): WorkingCopy.__init__(self, path) try: self.workingtree = WorkingTree.open(self.path) except NotBranchError: pass else: self.repository = BazaarRepository(self.workingtree.branch.user_url) #self.repository.working_copy = self self._current_version = self.repository._repository.revno()
def __init__(self, path=None): WorkingCopy.__init__(self, path) try: self.workingtree = WorkingTree.open(self.path) except NotBranchError: pass else: self.repository = BazaarRepository( self.workingtree.branch.user_url) #self.repository.working_copy = self self._current_version = self.repository._repository.revno()
def __init__(self, path=None): check_version() WorkingCopy.__init__(self, path) self.repository = GitRepository(self.path)
def __init__(self, path=None): WorkingCopy.__init__(self, path) self.repository = MercurialRepository(self.path)
def __init__(self, path=None): WorkingCopy.__init__(self, path) self.path = os.path.realpath(path or os.getcwd()) client = pysvn.Client() url = client.info(self.path).url self.repository = SubversionRepository(url)
def __init__(self, path=None): WorkingCopy.__init__(self, path) self.path = findrepo(self.path) self.repository = MercurialRepository(self.path)
def __init__(self, path=None): check_version() WorkingCopy.__init__(self, path) self.path = findrepo(self.path) self.repository = GitRepository(self.path)
def __init__(self, path=None): WorkingCopy.__init__(self) self.path = path or os.getcwd() self.repository = MercurialRepository(self.path)