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

Re: Re[2]: Subversion Exception on commit wirth pathfile

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Fri, 26 Oct 2018 11:52:57 +0200

[ bcc: dev_at_subversion.a.o because that's where this thread started,
but it really belongs on users@ so redirecting it there ... ]
[ Rearranged reponses from top-posting to bottom-posting ... see below
for some new information. ]

On Thu, Oct 18, 2018 at 12:52 PM Yakov Maryanov <yakovm_at_ukr.net> wrote:
> On 18 October 2018, 13:25:09 Bert Huijben <bert_at_qqmail.nl> wrote:
>> On Thu, Oct 18, 2018 at 12:13 PM Johan Corveleyn <jcorvel_at_gmail.com> wrote:
>>> On Thu, Oct 18, 2018 at 11:34 AM Yakov Maryanov <yakovm_at_ukr.net> wrote:
>>>>
>>>> Hello!
>>>>
>>>> I execute command:
>>>>
>>>> "C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:commit /pathfile:"d:\SVN\Work\Source\Project\f2.txt"
>>>>
>>>> File f2.txt contains two strings:
>>>>
>>>> d:\SVN\Work\Source\Source\Project.Client
>>>> d:\SVN\Work\Source\Source\Project.Server
>>>>
>>>> And I received such result:
>>>>
>>>> ---------------------------
>>>> Subversion Exception!
>>>> ---------------------------
>>>> Subversion encountered a serious problem.
>>>> Please take the time to report this on the Subversion mailing list
>>>> with as much information as possible about what
>>>> you were trying to do.
>>>> But please first search the mailing list archives for the error message
>>>> to avoid reporting the same problem repeatedly.
>>>> You can find the mailing list archives at
>>>> https://subversion.apache.org/mailing-lists.html
>>>>
>>>> Subversion reported the following
>>>> (you can copy the content of this dialog
>>>> to the clipboard using Ctrl-C):
>>>>
>>>> In file
>>>> 'D:\Development\SVN\Releases\TortoiseSVN-1.10.2\ext\subversion\subversion\libsvn_wc\wc_db.c'
>>>> line 10238: assertion failed (svn_dirent_is_absolute(local_abspath))
>>>> ---------------------------
>>>> OK
>>>> ---------------------------
>>>>
>>>> Am I doing something wrong, or is this a bug?
>>>
>>> Hi Yakov,
>>>
>>> This might be a problem specific to "TortoiseSVN", and not in "core
>>> svn". This mailinglist is for discussing the development of the core
>>> svn functionality (the Apache Subversion project), so we don't know
>>> anything about TortoiseProc.exe and how it handles its arguments etc
>>> (eventually calling the underlying SVN libraries). So I suggest you
>>> report this to one of the specific TortoiseSVN mailinglists. See
>>> https://tortoisesvn.net/community.html.
>>>
>>> Thanks,
>>> --
>>> Johan
>>
>> Could you try this same operation with the disk names capitalized?
>>
>> If this resolves the issue, please let us and the TortoiseSVN developers know, as in that case there is an issue in (their) path canonicalization api.
>>
>> Bert
>
> I have done "C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:commit /pathfile:"D:\SVN\Work\Source\Project\f2.txt"
> and D:\SVN\Work\Source\Source\Project.Client in file f2.txt. Result is the same.
>
> Thanks,
> Yakov

For the benefit of the subversion lists and their archives I'm adding
some extra information:

Yakov posted this problem to the tortoise users list [1], and it seems
the problem was identified. Stefan Küng answered the following:

>>> File f2.txt contains two strings:
>>>
>>> d:\SVN\Work\Source\Source\Project.Client
>>> d:\SVN\Work\Source\Source\Project.Server
>>
>> is the file encoded in utf-16? It has to be, ANSI or utf-8 won't work.
>>
>>> 'D:\Development\SVN\Releases\TortoiseSVN-1.10.2\ext\subversion\subversion\libsvn_wc\wc_db.c'
>>>
>>> line 10238: assertion failed (svn_dirent_is_absolute(local_abspath))
>>
>> this means the paths passed in the file are wrong. Either because the file f2.txt isn't encoded in utf16 or the paths are not correct/don't exist.
>>
>> Stefan
>
> In utf-16 encoding it's all right
>
> Thank you

[1] https://groups.google.com/d/msgid/tortoisesvn/fd22df25-c875-432d-a4dc-294139ba6935%40googlegroups.com

-- 
Johan
Received on 2018-10-26 11:53:20 CEST

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

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