what if tracker url changes?
David Muir
davidkmuir at gmail.com
Wed Nov 17 03:31:24 GMT 2010
Max Bowsher wrote:
> On 12/11/10 17:23, Voelker, Bernhard wrote:
>
>> Hi,
>>
>> given I have a
>> trac_myproject_url = http://some.where/trac
>>
>> and then do a few commit
>> bzr ci -m. --fixes=myproject:1234
>>
>> After some time, TRAC must be relocated to another server:
>> trac_myproject_url = https://any.where/trac
>>
>> Then `bzr log` still shows the old URL for the fixes.
>> I'd have expected not the full URL to be saved as part of the checkin,
>> but instead just the "myproject:1234" which is then resolved at the
>> time `bzr log` is run.
>>
>> Any idea?
>>
>
> The URL is a part of the revision data and cannot be changed. URLs are
> used because they are unique identifiers, and are usable without
> additional configuration, whereas the aliases passed at commit time may
> be assigned differently by different people, or may not be set up at all
> for many people viewing the Bazaar branch.
>
> Max.
>
>
Why not store both, and allow the user to override the stored url with a
user configured alias?
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20101117/8c9f8422/attachment.htm
More information about the bazaar
mailing list