bzr doesn't reveal location of .bazaar

Bug #90467 reported by John Whitley
2
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Wishlist
Unassigned

Bug Description

Version: 0.14

Problem: Bazaar should be able to report the value of config.config_dir(). Depending on the user's environment settings and platform, the actual location may be inobvious (esp. on Windows systems).

I would recommend adding a line that reveals the config dir in the version command, ala:
Using python interpreter: ...
Using python standard library: ...
Using bzrlib: ...
Using configuration dir: /home/myspiffyusername/.bazaar

Tags: win32
Revision history for this message
Alexander Belchenko (bialix) wrote :

If you have bzrtools installed you can do:

$ bzr show-paths --system

and got much more info:

C:\Temp\0.15rc1>bzr show-paths --system
*** Main bzr paths info ***
Python interpreter: C:\Program Files\Bazaar\bzr.exe
    Python library: C:\Program Files\Bazaar\lib\library.zip
    bzr executable: C:/Program Files/Bazaar/bzr.EXE
            bzrlib: C:/Program Files/Bazaar/lib/library.zip/bzrlib
    bzr config dir: C:/Documents and Settings/F1/Application Data/bazaar/2.0
  bzr plugins dirs: C:/Program Files/Bazaar/lib/library.zip/bzrlib/plugins
                  : C:/work/Bazaar/plugins.work
          .bzr.log: C:/work/Documents/.bzr.log

Do you like it?

Revision history for this message
Wouter van Heyst (larstiq) wrote :

I always forget where Windows stores the logfile and plugin dir, would help if I could just point users on irc to --version output.

Changed in bzr:
importance: Undecided → Wishlist
status: Unconfirmed → Confirmed
Revision history for this message
Alexander Belchenko (bialix) wrote :

It means to integrate a part of my show-paths plugin into bzr.dev?

Revision history for this message
John Whitley (whitley) wrote : Re: [Bug 90467] Re: bzr doesn't reveal location of .bazaar

Alexander Belchenko wrote:

> It means to integrate a part of my show-paths plugin into bzr.dev?

That would be fine; I also whipped up the (trivial) patch below to
add this info to 'bzr version', which already prints a path info for
python, python stdlib, and bzrlib.

BTW, I'm using bzr 0.14, but the generated bundle is version 0.8...
shouldn't it be bundle version 0.9?

-- John

Revision history for this message
John Whitley (whitley) wrote :

sigh. bundle attached this time.

-- John

Revision history for this message
Alexander Belchenko (bialix) wrote :

John Whitley пишет:
> BTW, I'm using bzr 0.14, but the generated bundle is version 0.8...
> shouldn't it be bundle version 0.9?

I think should.
Are you run from sources or from installed copy to site-packages?
Sometimes manual installation with `python setup.py install'
over old version of bzr does not update all files in bzrlib.
In this case you need to delete bzrlib and install bzr again.

--
Alexander

Revision history for this message
Alexander Belchenko (bialix) wrote :

Already in 0.15

Changed in bzr:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.