.bzr.log should be in localappdata directory on Windows, not in Documents

Bug #842996 reported by piersh
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

the .bzr.log file should NOT be placed in the user's Documents directory.

this file should be placed in the %USERPROFILE%\AppData\Local\Bazaar\ directory (FOLDERID_LocalAppData). please see http://msdn.microsoft.com/en-us/library/bb762188(v=vs.85).aspx

Tags: easy win32
Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 842996] [NEW] .bzr.log location

piersh пишет:
> Public bug reported:
>
> the .bzr.log file should NOT be placed in the user's Documents
> directory.
>
> this file should be placed in the %USERPROFILE%\AppData\Local\Bazaar\
> directory (FOLDERID_LocalAppData). please see http://msdn.microsoft.com
> /en-us/library/bb762188(v=vs.85).aspx

You can change location of .bzr.log with BZR_LOG environment variable,
setting the full path to file including filename.

affects: tortoisebzr → bzr
Martin Pool (mbp)
tags: added: easy win32
Changed in bzr:
status: New → Triaged
status: Triaged → Confirmed
importance: Undecided → Medium
summary: - .bzr.log location
+ .bzr.log should be in localappdata directory on windows
summary: - .bzr.log should be in localappdata directory on windows
+ .bzr.log should be in localappdata directory on Windows, not in
+ Documents
Revision history for this message
piersh (piersh) wrote :

i'm glad there's a way to change the default. however, the default should NOT be in the users's documents directory. that directory is specifically reserved for files that the user explicitly chooses to store there and should not be used as an application's temporary scratch space. either use TEMP, or AppData by default, please.

Revision history for this message
piersh (piersh) wrote :

oh, actually. i take it back.

setting the BZR_LOG environment variable does NOT change the location of the log file written by tbzrcache.exe.

Revision history for this message
Kevin R. Bulgrien (kevin-bulgrien) wrote :

Setting the BZR_LOG environment variable DOES change the location of the log file written by tbzrcache.exe based on observations with Bazaar 2.5.1 on Windows XP. See Bug #240550 comments for a more detailed response.

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.