WorkingTree.revert behavior
Gustavo Niemeyer
gustavo at niemeyer.net
Tue Dec 20 19:05:33 GMT 2005
Hey folks!
I belive this behavior is unexpected:
>>> from bzrlib.workingtree import WorkingTree
>>> wt = WorkingTree("/home/niemeyer/mybranch")
>>> wt.revert(["file"])
Traceback (most recent call last):
[...]
bzrlib.errors.PathNotChild: Path u'/home/niemeyer/file' is not
a child of path u'/home/niemeyer/mybranch'
>>> import os
>>> os.chdir("/home/niemeyer/mybranch")
>>> wt.revert(["file"])
>>>
--
Gustavo Niemeyer
http://niemeyer.net
More information about the bazaar
mailing list