You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Folker Schamel <sc...@spinor.com> on 2006/02/19 15:27:39 UTC

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

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

Re: Ok to file an issue? - Bug report regarding ..\..\.. on windows

Posted by Ivan Zhakov <ch...@gmail.com>.
On 2/21/06, Folker Schamel <sc...@spinor.com> wrote:
> Hi!
>
> Objections against filing an issue?
> (Searching for ".." didn't show up an relevant existing issue.)
I confirm this problem reproduces with trunk. I consider this is bug.

>
> Cheers,
> Folker
>
> > 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
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>


--
Ivan Zhakov

Re: Ok to file an issue? - Bug report regarding ..\..\.. on windows

Posted by Folker Schamel <sc...@spinor.com>.
> On Tue, 21 Feb 2006, Folker Schamel wrote:
> 
>> Hi!
>>
>> Objections against filing an issue?
>> (Searching for ".." didn't show up an relevant existing issue.)
>>
> This seems to be issue #2347. You could add a link there if you want to.

Ah I see!
I think another link is not necessary.

Cheers, Folker

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Ok to file an issue? - Bug report regarding ..\..\.. on windows

Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Tue, 21 Feb 2006, Folker Schamel wrote:

> Hi!
>
> Objections against filing an issue?
> (Searching for ".." didn't show up an relevant existing issue.)
>
This seems to be issue #2347. You could add a link there if you want to.

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Ok to file an issue? - Bug report regarding ..\..\.. on windows

Posted by Folker Schamel <sc...@spinor.com>.
Hi!

Objections against filing an issue?
(Searching for ".." didn't show up an relevant existing issue.)

Cheers,
Folker

> 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
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org