--- versioncontrol.py.orig 2007-06-25 11:33:24.000000000 +0200 +++ versioncontrol.py 2007-07-13 00:48:42.000000000 +0200 @@ -70,7 +70,7 @@ controlled by the given version control system. """ parent_dir = os.path.dirname(os.path.abspath(location)) - if not os.path.isdir(os.path.join(parent_dir, self.MARKER_DIR)): + if not os.path.isdir(self.MARKER_DIR): raise IOError("Could not find version control information: %s" % location) @@ -245,13 +245,13 @@ # This assumes that the whole PO directory is stored in darcs so we need to # reach the _darcs dir from po/project/language. That results in this # relative path - MARKER_DIR = "../../../_darcs" + MARKER_DIR = "_darcs" def __init__(self, location): GenericVersionControlSystem.__init__(self, location) self.darcsdir = os.path.join(os.path.dirname(os.path.abspath(location)), self.MARKER_DIR) - self.location = os.path.abspath(location) + self.location = location def update(self, revision=None): """Does a clean update of the given path"""