how do I preview a patch file from bzr send, e.g.using diff --using meld
David Ingamells
david.ingamells at mapscape.eu
Tue Mar 11 08:28:57 GMT 2008
Thanks for your replies.
| | How do I preview(e.g. using meld) what I will be sending?
| diff --using meld -r submit:
This does indeed do what I want.
| | I am aware that I could apply the patch to a branch and diff on that,
| | but given that it takes 45 minutes (yes! with bzr 1.2 too) to branch
| | from one of our repositories, that is not an action to undertake lightly.
| Are you using a shared repository? Have you considered just making a
| lightweight checkout, rather than a full branch? What about just
| applying it to your normal branch, and reverting if you don't like the
| result?
We do not use shared repositories: in our setup the (peer) reviewer of a patch only has read access to our central repository, so a "checkout --lightweight" followed by a "bzr merge" fails:
bzr: ERROR: Cannot lock
LockDir(file:///data/id/CmsRoot/repos/CVTOOL/.bzr/repository/lock):
Permission denied:
"/data/id/CmsRoot/repos/CVTOOL/.bzr/repository/lock/ps8yjc3txb.tmp":
[Errno 13] Permission denied:
'/data/id/CmsRoot/repos/CVTOOL/.bzr/repository/lock/ps8yjc3txb.tmp'
I am very much looking forward to the shallow branches update I have
seen being discussed - at least if they are the branch equivalent of a
lightweight checkout. Is there a timeframe for the 1.3 and 1.4 releases?
In other words - how long do I have to hold my breath?
| | How can I see what properties have changed?
| The only property that is tracked is the execute bit.
But is the bit set or removed? bzr diff just says "=== modified file
'file' (properties changed)"
BTW: Not connected with the above discussion, but I have just ported the
GNU indent repository to bazaar, and will soon be making it available
via http:. Bazaar is thus being used in yet another project.
David.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20080311/a34fc3a1/attachment-0001.htm
More information about the bazaar
mailing list