Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
all
-
None
-
FreeBSD
Description
svn client crashes when during commiting files from different directories. This problem is connected with FreeBSD and chroot/jail. If working directory is chrooted user cann't commit files from different directories. Here is a patch to this issue: --- subversion-1.4.0/subversion/libsvn_client/commit.c Thu Nov 30 11:05:36 2006 *************** svn_client_commit3(svn_commit_info_t **c *** 1268,1273 **** --- 1268,1283 ---- base_dir, rel_targets, pool)); + /* + FIX for FreeBSD+chroot. + When directory is chrooted or just it is root + directory svn client crashes when one wants to commit + files from different directories. + */ + if (!*base_dir) { + base_dir = apr_pstrdup(pool, "/"); + } + for (i = 0; i < rel_targets->nelts; i++) { const char *parent_dir, *name;
Original issue reported by bochen
Attachments
Issue Links
- duplicates
-
SVN-2739 svn ci aborts when crossing root directory
- Closed