Comment 5 for bug 795024

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 795024] Re: Always remember push target

Hi Olaf,

On 09/06/11 16:17, Olaf van der Spek wrote:
> On Thu, Jun 9, 2011 at 5:07 PM, Vincent Ladeuil
> <email address hidden> wrote:
>> That's what --remember is for (bzr help push).
>>
>> So you want 'bzr push --remember target2'
>>
>> The most common way to use 'bzr push' (which you already know) is to use
>> it without a location, when you change your mind, you tell bzr to
>> remember that.
> Remembering to tell bzr to remember it is the problem.
You should be able to set an alias to always specify --remember, e.g.:
'bzr alias push="push --remember"'

That said, I have the same frustration with the remembered push
location. Remembering the last push location is often going to be
incorrect for me, but remembering the first location seems even worse.

Cheers,

Jelmer