[Python-apps-team] Bug#908902: mercurial: hg commit -m 'my updates' (goes awry due to space in message)
Steve Newcomb
srn at coolheads.com
Wed Oct 3 17:08:14 BST 2018
My bad. Sorry for the noise.
I defined an hg() function in /etc/bash.bashrc that dropped the quote
protection. I don't know why it worked OK in Ubuntu 16.04 and Ubuntu
18.04. In Buster/Sid, hg now works fine for me (after experimentally
undoing my error with an "unset -f hg").
On 10/02/2018 04:45 AM, Julien Cristau wrote:
> Control: tag -1 moreinfo unreproducible
>
> On 09/15/2018 07:33 PM, Steve Newcomb wrote:
>> Package: mercurial
>> Version: 4.7.1-1
>> Severity: important
>>
>> Dear Maintainer,
>>
>> The bash command line:
>> % hg commit -m 'my updates'
>>
>> results in:
>> abort: 2017_original/180914_updates/updates: No such file or directory
>>
>> ... which is true, there is no such file or directory. However, I
>> wasn't trying to commit any such file. I was trying to do a general
>> commit with the commit message "my updates".
>>
>> It worked as expected only when I removed the space from the message:
>> % hg commit -m 'my_updates'.
>>
> Works for me:
>
> jcristau at tomate:/tmp$ hg init hgtest
> jcristau at tomate:/tmp$ cd hgtest/
> jcristau at tomate:/tmp/hgtest$ touch a
> jcristau at tomate:/tmp/hgtest$ hg addremove
> adding a
> jcristau at tomate:/tmp/hgtest$ hg commit -m 'my updates'
> jcristau at tomate:/tmp/hgtest$ hg log
> changeset: 0:b06b9ef0091d
> tag: tip
> user: Julien Cristau <jcristau at mozilla.com>
> date: Tue Oct 02 10:41:09 2018 +0200
> summary: my updates
>
> You may want to check your extensions or something else in your setup
> that might be messing this up.
>
> Cheers,
> Julien
More information about the Python-apps-team
mailing list