PATCH: get rid of /dev/null in diff output
James Henstridge
james.henstridge at gmail.com
Mon May 15 05:07:49 BST 2006
On 5/15/06, Robert Collins <robertc at robertcollins.net> wrote:
> > When making a diff against a stored revision (as opposed to a working
> > tree), I used the commit date of the revision. Ideally the commit
> > date of the last revision to touch the file would be used instead, but
> > I'm not sure how to get that information. Fixing this problem would
> > involve altering RevisionTree.get_file_mtime().
>
> repository.get_revision(RevisionTree.inventory[fileid].revision) is the
> last modifying revision of the file.
Thanks. I've updated my patch to use this. The branch also contains
the changes.
James.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-diff-output.patch
Type: text/x-patch
Size: 13284 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060515/6d8f9682/attachment.bin
More information about the bazaar
mailing list