any way to refer to the root?

Eli Zaretskii eliz at gnu.org
Sat May 21 07:01:10 UTC 2011


> Date: Fri, 20 May 2011 22:32:48 -0700
> From: Chris Hecker <checker at d6.com>
> 
> Hmm, on windows powershell (cmd doesn't even have that) it keeps the 
> newline, so no worky.

You can use the following CMD batch file (once) to set "bzrroot"
environment variable.  Thereafter you can use %bzrroot%/foo/bar in
that tree.

  @echo off
  for /f "useback delims==" %%d in (`bzr root`) do set bzrroot=%%d

Run this from some directory in the tree whose root you want to set.



More information about the bazaar mailing list