[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Bug: Locally deleted file wrongly accepted as log message string.

From: Branko Čibej <brane_at_apache.org>
Date: Fri, 29 Jun 2018 11:10:29 +0200

On 29.06.2018 10:35, Philip Martin wrote:
> Karl Fogel <kfogel_at_red-bean.com> writes:
>
>> :-). In any case, I first wanted to make sure there is consensus that
>> this is a bug. Do we agree?
> Agreed.

That check was put in the code to prevent users from writing '-m foo<tab
completion>' instead of '-F foo<tab completion>'. It was *not* put there
to prevent people from using the name of a (nominally)
version-controlled file in the log message. Therefore, the behaviour is
correct, since in your second example, there is no such file on disk.

Note that the error message says that "the log message is a pathname",
not that it's a versioned file. Also the comment in the code where we
check that says:

    If the -m argument is a file at all, that's probably not what the
    user intended.

QED: not a bug but expected behaviour.

-- Brane

P.S.: Incidentally, Karl, your name appears in the blame of that bit of
the source file, so I'm assuming that, at least at some point, you
agreed with the current behaviour. :)
Received on 2018-06-29 11:10:42 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.