Extra revisions in a branch (was Re: How to get the diff between two arbitrary remote revisions?)
Matthieu Moy
Matthieu.Moy at imag.fr
Wed Nov 16 14:46:07 GMT 2005
Aaron Bentley <aaron.bentley at utoronto.ca> writes:
> No, it also happens when you try to pull and have divergent branches.
> And there's also the fetch command.
diff -r branch:XXX
Also fetches the revisions.
It seems a bit strange to me. For example, if I do
$ cd /a/project
# Forget that I'm in this project, but I want to see something in
# another project
$ bzr ... -r branch:http://foo.bar
Then, I have completely unrelated revisions in my current directory. I
would have expected operations like "diff" on a remote branch to be
read-only in the current branch, and I'd also have expected to be able
to run them from any directory (currently, I can diff two remote
branch only from a local branch).
This seems to me like a local cache (comparable to GNU Arch's revision
libraries or Bazaar 1's cache ?), and I'm not sure the right place to
store it is the current working directory.
Also, I'd have expected a kind of garbage-collection (or cache
expiry), to keep only the ancestors of the head of the current branch.
Did I miss something, or is it just "on the todo list" ?
Thanks,
--
Matthieu
More information about the bazaar
mailing list