uncomitted changes, change a branch: problems
cesar mena
cesar.mena at gmail.com
Thu Jul 18 17:49:10 UTC 2019
Hello mercurial,
Matt Harbison <mharbison72 at gmail.com> writes:
>> i am also interested in this, but don't want to turn on tweakdefaults.
>>
>> do you see any issues with doing:
>>
>> [alias]
>> update = update --check
>> # this is needed otherwise the `up` abbrev does not pick up the --check
>> # flag
>> up = update
>
> I think the recommendation is to not alias a command to itself,
> because there’s no way to unalias it. Plus, that won’t cover “upd” or
> other prefixes of “update”.
aliasing "update" does cover all abbreviations with the exception of
"up". i've never been happy with this solution though.
>> is there another way?
>
> The help for “config.ui” says it’s setting “commands.update.check=noconflict.
ah! perfect. thanks so much matt.
cheers,
-cm
More information about the Mercurial
mailing list