Skip to content

Instantly share code, notes, and snippets.

@wonderful-panda
Created December 22, 2011 17:01
Show Gist options
  • Save wonderful-panda/1511001 to your computer and use it in GitHub Desktop.
Save wonderful-panda/1511001 to your computer and use it in GitHub Desktop.
Fix for ignore-lightweight-from-remote
=== 変更 ファイル tbzrlib/wtcache.py
--- tbzrlib/wtcache.py 2011-12-22 09:33:51 +0000
+++ tbzrlib/wtcache.py 2011-12-22 16:59:44 +0000
@@ -787,7 +787,7 @@
mutter(u"adding %s to our cache", path)
try:
- tree = open_containing_local_workingtree(path)
+ tree = open_containing_local_workingtree(path.path)
wt_entry = WtCacheEntry(tree, self.crawler)
self.dircache[wt_entry.path] = wt_entry
return wt_entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment