Rev 2107: Fix getting local changes when path isn't accepted by layout. in http://people.samba.org/bzr/jelmer/bzr-svn/0.5

Jelmer Vernooij jelmer at samba.org
Sun Nov 30 17:21:10 GMT 2008


At http://people.samba.org/bzr/jelmer/bzr-svn/0.5

------------------------------------------------------------
revno: 2107
revision-id: jelmer at samba.org-20081130172102-ua0z8qa72b4xcvys
parent: jelmer at samba.org-20081130170203-y19plpx3pn28cjop
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.5
timestamp: Sun 2008-11-30 18:21:02 +0100
message:
  Fix getting local changes when path isn't accepted by layout.
modified:
  fileids.py                     fileids.py-20060714013623-u5iiyqqnko11grcf-1
=== modified file 'fileids.py'
--- a/fileids.py	2008-11-28 17:23:10 +0000
+++ b/fileids.py	2008-11-30 17:21:02 +0000
@@ -49,7 +49,7 @@
         if not changes.path_is_child(branch, p):
             continue
         data = paths[p]
-        new_p = layout.parse(p)[3]
+        new_p = p[len(branch):].strip("/")
         if data[1] is not None:
             try:
                 (pt, proj, cbp, crp) = layout.parse(data[1])




More information about the bazaar-commits mailing list