How to get the diff between two arbitrary remote revisions?

Matthieu Moy Matthieu.Moy at imag.fr
Fri Nov 4 08:58:17 GMT 2005


Hi,

I can't find a way to get the diff between two arbitrary revisions if
they are remote.

I've tried

  bzr diff -r branch:$HOME/path/to/branch/,revno=2..branch:$HOME/path/to/branch/,revno=5

(I remember a discussion about using ,revno=N but I don't remember
what the final decision was)

but the ,revno= part seems to be simply ignored.

There should IMO be a way to designate a particular revision in
revision specs. The syntax I tried above makes sense to me.

  bzr diff --branch $HOME/path/to/branch/ -r 2..5

would also make sense, but it doesn't handle the case

  bzr diff -r branch:/path/to/a/branch/,revno=1..branch:/path/to/another/branch/,revno=1

(perhaps having both would make sense)



[ The use-case I have in mind is the implementation of a revision list
  in DVC, like what we have in Xtla: it shows a list of revision (the
  output of 'bzr log', with more colors), and pressing '=' on a
  revision shows the diff between this revision and the previous one.
  With Arch, this was done with get-changeset + show-changeset, but I
  can't find the way to do this with bzr. ]

Thanks for you answer,

-- 
Matthieu




More information about the bazaar mailing list