Subversion Exception on commit with /pathfile parameter

216 views
Skip to first unread message

Yakov Maryanov

unread,
Oct 19, 2018, 8:53:26 AM10/19/18
to TortoiseSVN
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?

=========================================================================
Bert Huijben answered me about this error:

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.

What is the cause of this error?

Thanks,
Yakov

Stefan

unread,
Oct 19, 2018, 9:47:57 AM10/19/18
to TortoiseSVN


On Friday, October 19, 2018 at 2:53:26 PM UTC+2, Yakov Maryanov 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

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

yakov.m...@e-life.com.ua

unread,
Oct 19, 2018, 5:02:57 PM10/19/18
to TortoiseSVN
пятница, 19 октября 2018 г., 16:47:57 UTC+3 пользователь Stefan написал:
In utf-16 encoding it's all right

Thank you
Reply all
Reply to author
Forward
0 new messages