http://bugs.grommit.com/show_bug.cgi?id=315





------- Comment #1 from levon at movementarian.org  2007-08-20 18:07 PDT -------
Well that's not right. I'm not sure what it's trying to do exactly,
but this fixed cddlchk:

$ hg diff
diff --git a/usr/src/tools/onbld/Scm/WorkSpace.py
b/usr/src/tools/onbld/Scm/WorkSpace.py
--- a/usr/src/tools/onbld/Scm/WorkSpace.py
+++ b/usr/src/tools/onbld/Scm/WorkSpace.py
@@ -704,8 +704,8 @@ class WorkSpace(object):
         self.ui.popbuffer()

     def filepath(self, path):
-        'Return the full path to a workspace file.'
-        return util.pathto(self.repo.root, os.getcwd(), path)
+        'Return the relative path to a workspace file.'
+        return os.path.join(util.pathto(os.getcwd(), self.repo.root), path)

     def clean(self, rev=None, wlock=None):
         '''Bring workspace up to REV (or tip) forcefully (disgarding in


-- 
Configure bugmail: http://bugs.grommit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to