[prev in list] [next in list] [prev in thread] [next in thread]
List: subversion-issues
Subject: [Issue 4418] New - File URLs truncated on Windows with mapped and SUBST drives
From: levyam () tigris ! org
Date: 2013-08-28 13:05:19
Message-ID: iz4418 () subversion ! tigris ! org
[Download RAW message or body]
http://subversion.tigris.org/issues/show_bug.cgi?id=4418
Issue #|4418
Summary|File URLs truncated on Windows with mapped and SUBST d
|rives
Component|subversion
Version|1.8.x
Platform|PC
URL|
OS/Version|Windows 7
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|libsvn_ra_local
Assigned to|issues@subversion
Reported by|levyam
------- Additional comments from levyam@tigris.org Wed Aug 28 06:05:19 -0700 2013 -------
SVN Users list post: http://svn.haxx.se/users/archive-2013-08/0518.shtml
C:\...\_Projects\Documentation>svn --version
svn, version 1.8.1 (r1503906)
compiled Jul 22 2013, 19:58:17 on x86-microsoft-windows
Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/
The following repository access (RA) modules are available:
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- handles 'http' scheme
- handles 'https' scheme
When using a file:/// URL with the drive letter being a mapped network share or a SUBST
drive letter, and the root of the repository being at the root of the mapped/SUBSTed drive,
the first character of the path of subdirectories in the repository is lost.
The mapped drive was reported via TSVN 1.8.1 on Windows XP, the SUBST drive letter on
Windows 7 64-bit. Steps to reproduce:
PS R:\> svnadmin create LocalTest
PS R:\> svn co file:///r:/LocalTest r:\TestOne
Checked out revision 0.
PS R:\> cd TestOne
PS R:\TestOne> mkdir FirstChild
Directory: R:\TestOne
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 08/28/2013 08:48 FirstChild
PS R:\TestOne> svn add FirstChild
A FirstChild
PS R:\TestOne> svn ci -m "First Commit"
Adding FirstChild
Committed revision 1.
PS R:\TestOne> cd ..
PS R:\> svn ls file:///r:/LocalTest
FirstChild/
PS R:\> subst S: r:/LocalTest
PS R:\> dir s:
Directory: s:\
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 08/28/2013 08:46 conf
d---- 08/28/2013 08:48 db
d---- 08/28/2013 08:46 hooks
d---- 08/28/2013 08:46 locks
-ar-- 08/28/2013 08:46 2 format
-a--- 08/28/2013 08:46 251 README.txt
PS R:\> svn co file:///s:/ r:\TestTwo
A TestTwo\FirstChild
Checked out revision 1.
PS R:\> svn co file:///s:/FirstChild r:\TestThree
svn: E160005: Target path '/irstChild' does not exist
PS R:\> svn co file:///r:/LocalTest/FirstChild r:\TestFour
Checked out revision 1.
PS R:\> svn ls file:///s:/
FirstChild/
PS R:\> svn ls file:///s:/FirstChild
PS R:\>
I can check out from the actual filesystem path (file:///r:/LocalTest/FirstChild) but not
the path using S: as the repository root (file:///s:/FirstChild), but svn ls behaves
correctly:
PS R:\TestFour> svn add file.txt
A file.txt
PS R:\TestFour> svn ci -m "new file"
Adding file.txt
Transmitting file data .
Committed revision 2.
PS R:\TestFour> svn ls file:///r:/LocalTest/
FirstChild/
PS R:\TestFour> svn ls file:///r:/LocalTest/ -R
FirstChild/
FirstChild/file.txt
PS R:\TestFour> svn ls file:///s:/ -R
FirstChild/
FirstChild/file.txt
PS R:\TestFour>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=463&dsMessageId=3063469
To unsubscribe from this discussion, e-mail: [issues-unsubscribe@subversion.tigris.org].
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic