[MERGE] Use a helper function where only one revision is required

Daniel Watkins daniel at daniel-watkins.co.uk
Mon Feb 9 00:17:07 GMT 2009


When working on adding a revision option to switch, I noticed that there
were a number of commands that were using an almost identical idiom to
get a single revision from the revision being passed in.  The attached
extracts this into a helper function and converts all of the obvious
places where the idiom is being used.


Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1revision-3993.patch
Type: text/x-patch
Size: 11414 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090209/cfbc2c11/attachment-0001.bin 


More information about the bazaar mailing list