Edgewall Software
Modify

Ticket #10390 (new defect)

Opened 8 months ago

Last modified 7 months ago

Subversion assertion with leading double slashes in repository path

Reported by: jomae Owned by:
Priority: normal Milestone: next-minor-0.12.x
Component: version control Version: 0.12.2
Severity: normal Keywords: svn
Cc:
Release Notes:
API Changes:

Description

When syncing a subversion repository that has leading double slashes in the path, the assertion occurs with subversion 1.6.11 and python 2.4.

Trac [/home/jun66j5/var/trac/0.12-stable]> repository add (default) //var/lib/svn/sandbox
Trac [/home/jun66j5/var/trac/0.12-stable]> repository list

Name       Type  Alias  Directory
---------------------------------------------
(default)               //var/lib/svn/sandbox

Trac [/home/jun66j5/var/trac/0.12-stable]> repository sync (default)
python2.4: subversion/libsvn_subr/path.c:114: svn_path_join: Assertion `svn_path_is_canonical(base, pool)' failed.
Aborted

Attachments

Change History

comment:1 Changed 7 months ago by jomae

  • Keywords svn added

The same assertion happens with subversion 1.7.1.

Trac [/home/jun66j5/var/trac/0.12-stable]> repository list

Name       Type  Alias  Directory
---------------------------------------------
(default)               //var/lib/svn/sandbox

Trac [/home/jun66j5/var/trac/0.12-stable]> repository sync (default)
python2.4: subversion/libsvn_subr/dirent_uri.c:955: svn_dirent_join: Assertion `svn_dirent_is_canonical(base, pool)' failed.
Aborted

comment:2 Changed 7 months ago by cboos

We would need to extend the Repository API with a normalize_repository_path method.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from (none). Next status will be 'new'
The owner will be changed from (none) to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.