On Wed, 2014-03-05 at 22:09 -0300, Vinícius dos Santos Oliveira wrote:
Em Qua, 2014-03-05 às 17:32 -0600, Ted Gould escreveu:
Where the "lp:inkscape" is the branch identifier, it could be "../trunk" as well.
Can you give me a full command-line example of local branch identifiers (or even asciinema link if you go on mad mode)? Here in my computer only lp:inkscape works.
bzr diff -r ancestor:/home/vinipsmaker/Projetos/inkscape/.git/bzr/repo
fails with exit status 3 and the message:
ERROR: Not a branch: "/home/vinipsmaker/Projetos/inkscape/.git/bzr/repo".
The folder that I need to point is the folder containing the .bzr folder or the .bzr folder itself? I tried both and both failed.
Your paths are a little confusing, not sure how the .git got in there, so let me comment using my layout as an example. I put all my software in ~/Development with a directory for the project "inkscape" and then the branches. So I could have two branches like this:
/home/ted/Development/inkscape/trunk /home/ted/Development/inkscape/foo
I'd create each of those by doing something like:
cd /home/ted/Development/inkscape bzr branch lp:inkscape trunk
I could get a diff of foo using the common ancestor of foo and trunk by doing:
cd /home/ted/Development/inkscape/foo bzr diff -r ancestor:../trunk
Does that answer your questions? If not, perhaps bzr help revisionspec could shed some light for you.
Ted