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@tomate:/tmp$ hg init hgtest
jcristau@tomate:/tmp$ cd hgtest/
jcristau@tomate:/tmp/hgtest$ touch a
jcristau@tomate:/tmp/hgtest$ hg addremove
adding a
jcristau@tomate:/tmp/hgtest$ hg commit -m 'my updates'
jcristau@tomate:/tmp/hgtest$ hg log
changeset:   0:b06b9ef0091d
tag:         tip
user:        Julien Cristau <jcris...@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

Reply via email to