Commit 6b720fd7 authored by Vincent Legoll's avatar Vincent Legoll

Fix VC relative path single file diff'ing

svn path=/trunk/; revision=1209
parent a13ffd82
......@@ -50,8 +50,6 @@ class Vc(_vc.Vc):
return [self.CMD,"rm"]
def revert_command(self):
return [self.CMD,"revert"]
def get_working_directory(self, workdir):
return self.root
def cache_inventory(self, rootdir):
self._tree_cache = self.lookup_tree(rootdir)
......
......@@ -71,9 +71,6 @@ class Vc(_vc.Vc):
# will not work, since darcs needs interaction it seems
return [self.CMD, "revert", "-a"]
def get_working_directory(self, workdir):
return self.root
def cache_inventory(self, rootdir):
self._cached_statuses = self._calculate_statuses()
......
......@@ -62,11 +62,6 @@ class Vc(_vc.Vc):
return [self.CMD,"rm"]
def revert_command(self):
return [self.CMD,"checkout"]
def get_working_directory(self, workdir):
if workdir.startswith("/"):
return self.root
else:
return ''
def cache_inventory(self, topdir):
self._tree_cache = self.lookup_tree()
......
......@@ -45,8 +45,6 @@ class Vc(_vc.Vc):
return [self.CMD,"rm"]
def revert_command(self):
return [self.CMD,"revert"]
def get_working_directory(self, workdir):
return self.root
def _get_dirsandfiles(self, directory, dirs, files):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment