Paths with links, or relative paths, cannot be used in location.conf.

Bug #359320 reported by amicitas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned
Breezy
Triaged
Medium
Unassigned

Bug Description

Paths placed into the locations.conf file that have symbolic links or relative paths do not work properly.

The issue with the symbolic links is a major problem for me because on the server that I use, the true path may change at any given time and we are encouraged to use a link to the home directory.

For example this will not work in locations.conf if u is a link to /u -> /u4.:
[/u/antoniuk/bzr]
email = Some One <email address hidden>

This will also not work:
[~/bzr]
email = Some One <email address hidden>

This should be an easy fix, just make sure that the a local path in the locations.conf is expanded before being compared with the current path.

If this seems like a reasonable thing to do I can try to put together a patch.

Tags: config symlink
Revision history for this message
Vincent Ladeuil (vila) wrote :

Sorry for the delay.

That sounds nice indeed !

Changed in bzr:
status: New → Confirmed
importance: Undecided → Medium
Jelmer Vernooij (jelmer)
tags: added: config symlink
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
tags: removed: check-for-breezy
Changed in brz:
status: New → Triaged
importance: Undecided → Medium
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.