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

Re: BUG (?) with file URL

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-03-20 19:15:15 CET

Paul wrote:
> I looked at the TSVN issue tracker, and did not see anything like this...
>
> BACKGROUND INFORMATION:
> I have a USB flash drive that I use for my projects.
> I have the following directories on this drive:
> \svn-repos\apps my Subversion repository
> \project001\wc my WC of the trunk of a project in the repository.
>
> The drive letter that is assigned to the drive changes depending on
> the computer I am using. So, when I created my WC using the command
> line, I did not specify a drive letter as part of the file URL.
> Now, I cannot get TSVN to do anything that requires access the repository.
>
> DETAILS:
> Using v1.4.2 of the Subversion command line client, I created the
> local WC using the following command:
> svn checkout file:///svn-repos/apps/project001/trunk \project001\wc

That *only* works if the CWD (current working directory) is set to where
you want to check out your working copy. The command line client always
has the CWD set to where it starts from. That's the case for all console
applications.
UI applications however have their CWD set to something else. And
especially those applications which are started from the explorer -
their CWD is set to whatever the last shell extension has set it to.

We could work around this by always setting the CWD to the dir where you
right-clicked. But then Subversion might fail on some commands because
the CWD might not be writable.

In short: you can't do this with TSVN. And I doubt it would work with
other UI clients either.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue Mar 20 19:15:28 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.