Question about diff output (diff in subdir)
Vincent LADEUIL
v.ladeuil at alplog.fr
Wed Feb 1 14:35:03 GMT 2006
>>>>> "Alexander" == Alexander Belchenko <bialix at ukr.net> writes:
Alexander> When I do bzr diff in subdir I've got output with
Alexander> filenames relative to branch root. Is this good?
Alexander> If I have following use case: some editor
Alexander> (e.g. FTE) has built-in support for bzr commands
Alexander> by invoking bzr from command line and catching its
Alexander> output. This editor is able to parse output of
Alexander> diff command and provide click-n-jump feature,
Alexander> when I from diff could jump to appropriate
Alexander> location in file. But unfortunately this editor
Alexander> don't know anything about bzr root dir and the
Alexander> fact that all path is relative to that root. So
Alexander> when I run bzr diff from subdir I have broken
Alexander> paths in output. And editor could not jump to
Alexander> appropriate file from diff because path is broken.
Can't you correct that by an adequate use of the 'bzr root' command ?
At least by using 'bzr root' + 'bzr diff' you are sure to
interpret things without ambiguities.
Otherwise you will need 'pwd' + 'bzr diff'...
Vincent
More information about the bazaar
mailing list