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

Bug report regarding ..\..\.. on windows

From: Folker Schamel <schamel23_at_spinor.com>
Date: 2006-02-19 16:27:39 CET

On Windows and with svn 1.3.0

   C:\temp\svnbugreport\d1\d2\d3>svn update ..\..\..\wc

does not work ("Skipped '..\wc'"), whereas

   C:\temp\svnbugreport\d1\d2>svn update ..\..\wc

works ("Updated to revision 1.").
I would expect that both commands are equivalent.
Details see below.

Cheers, Folker

***** Batch file to reproduce:

setlocal
rmdir c:\svnbugreport /S /Q
mkdir c:\svnbugreport
cd c:\svnbugreport
svn --version
svnadmin create repos
svn checkout file:///svnbugreport/repos wc
svn mkdir file:///svnbugreport/repos/something -m "Test"
mkdir d1
mkdir d1\d2
mkdir d1\d2\d3
cd d1\d2\d3
svn update ..\..\..\wc
cd ..
svn update ..\..\wc

***** Batch file output:

C:\temp\svnbugreport>setlocal

C:\temp\svnbugreport>rmdir c:\svnbugreport /S /Q

C:\temp\svnbugreport>mkdir c:\svnbugreport

C:\temp\svnbugreport>cd c:\svnbugreport

C:\svnbugreport>svn --version
svn, version 1.3.0 (r17949)
    compiled Jan 15 2006, 23:18:48

Copyright (C) 2000-2005 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
   - handles 'http' scheme
   - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
   - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' scheme

C:\svnbugreport>svnadmin create repos

C:\svnbugreport>svn checkout file:///svnbugreport/repos wc
Checked out revision 0.

C:\svnbugreport>svn mkdir file:///svnbugreport/repos/something -m "Test"

Committed revision 1.

C:\svnbugreport>mkdir d1

C:\svnbugreport>mkdir d1\d2

C:\svnbugreport>mkdir d1\d2\d3

C:\svnbugreport>cd d1\d2\d3

C:\svnbugreport\d1\d2\d3>svn update ..\..\..\wc
Skipped '..\wc'

C:\svnbugreport\d1\d2\d3>cd ..

C:\svnbugreport\d1\d2>svn update ..\..\wc
A ..\..\wc\something
Updated to revision 1.

*****

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Feb 19 16:28:08 2006

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.