[PATCH] minor bzr diff improvements
Chris Mason
mason at suse.com
Sun Apr 10 03:10:14 BST 2005
Hello,
Since I'm trying to get a handle on bzr, I picked a somewhat simple task that
others (probably ;) aren't already working on.
The attached patch allows you to diff between two revisions:
bzr diff -r rev1 -r rev2
It changes the command line parsing to allow multi options for specific
options in specific commands. This means bzr diff allows multiple -r options
but bzr ls does not.
I also changed the file selection code for bzr diff file1 file2 ..., moving
the check against the file list deeper into the call chain. It looks to me
as though bzr is still reading the whole tree even when we're asking to diff
one or two files. With this change we're still doing a stat of the tree, but
it's a start.
Testing has been very light, I'm mostly just trying to get a feel for things
here.
-chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-diff.diff
Type: text/x-diff
Size: 3670 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050409/aab75cf4/attachment.bin
More information about the bazaar
mailing list