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

Misleading error messages under Vista and Windows7

From: cowwoc <cowwoc_at_bbs.darktech.org>
Date: Sat, 24 Oct 2009 11:34:43 -0700 (PDT)

Hi,

I am using Windows7 64-bit, Collabnet Subversion Server 1.6.6

Installation directory: C:\Program Files (x86)\Subversion
Repository directory: C:\Program Files (x86)\Subversion\repositories

1. open a command window
2. cd C:\Program Files (x86)\Subversion\repositories
3. svnadmin create foo
4. program returns success but directory "foo" does not show up under the
repositories directory
5. repeat "svnadmin create foo"
6. program will complain "svnadmin: 'test' is a subdirectory of an existing
repository rooted at 'test'"

What is actually going on is that svnadmin tries writing to C:\Program Files
(x86)\Subversion\foo. Windows redirects this to
C:\Users\Gili\AppData\Local\VirtualStore\Program Files (x86)\Subversion\foo.
There are two problems:

1. The behavior and error message is misleading. I spent an hour trying to
figure out how to delete the repository so I can try again.
2. If you try checking out the repository based in VirtualStore you'll get
an error, probably because it has the wrong permissions or something.

Expected behavior:

1. The initial attempt to create the repository directory should fail,
indicating that the directory cannot be written to, or
2. Create the directory, but then if a user tries creating the repository a
second time the error message should give the *full* path to the repository
(the one in VirtualStore) so there is no confusion.
3. If repository creation is allowed in VirtualStore then checkouts should
work.

Thanks,
Gili

-- 
View this message in context: http://www.nabble.com/Misleading-error-messages-under-Vista-and-Windows7-tp26041805p26041805.html
Sent from the Subversion Users mailing list archive at Nabble.com.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2411076
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-24 20:35:24 CEST

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

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