(Sorry if the email's hard to read, have to use Outlook :()
* Hi,
>
> I just created a branch and then tried to switch my wc to the branch
> using:
>
> svn cp http://url1/svn/trunk/foo/bar http://url1/svn/branches/mybar -m
> "created mybar"
> svn switch http://url/svn/branches/mybar bar
>
> basically in the svn switch I missed the 1 off the url in the switch
> command
>
> but the switch worked...
I don't believe you. If the 'url' can't be resolved by DNS, then
there's no way the switch could have worked in the first place -- the
switch absolutely has to contact the repository and ask it to compare
two trees. Are you leaving some details? If not, I'd like to see a
transcript of your commandline session that demonstrates this.
Reproduced below....
C:\Desktop\sb>svn cp http://mppoffice1/sandbox/trunk/bar http://mppoffice1/sandbox/branches/mybar -m "copied bar to branches"
Committed revision 66.
C:\Desktop\sb>svn switch http://mppoffice/sandbox/branches/mybar bar
svn: 'bar' does not appear to be a working copy path
C:\Desktop\sb>ls
branches commit trunk
C:\Desktop\sb>cd trunk
C:\Desktop\sb\trunk>svn switch http://mppoffice/sandbox/branches/mybar bar
At revision 66.
C:\Desktop\sb\trunk>svn info bar
Path: bar
URL: http://mppoffice/sandbox/branches/mybar
Repository UUID: 7c9c328b-e6f2-004a-9eb2-e8788900c409
Revision: 66
Node Kind: directory
Schedule: normal
Last Changed Rev: 66
Last Changed Date: 2005-04-28 14:08:40 +0100 (Thu, 28 Apr 2005)
C:\Desktop\sb\trunk>cd bar
C:\Desktop\sb\trunk\bar>gvim example.txt
C:\Desktop\sb\trunk\bar>cd ..
C:\Desktop\sb\trunk>svn ci bar -m "updated example.txt"
svn: Commit failed (details follow):
svn: OPTIONS request failed on '/sandbox/branches/mybar'
svn: OPTIONS of '/sandbox/branches/mybar': Could not resolve hostname `mppoffice': No such host is known. (http://mppoffice)
C:\Desktop\sb\trunk>ping mppoffice
Ping request could not find host mppoffice. Please check the name and try again.
C:\Desktop\sb\trunk>ping mppoffice1
Pinging mppoffice1 [xxxxxxxxx] with 32 bytes of data:
Reply from xxxxxxxx: bytes=32 time<1ms TTL=128
Ping statistics for xxxxxxxxxx:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Control-C
^C
C:\Desktop\sb\trunk>svn --version
svn, version 1.1.1 (r11581)
compiled Oct 23 2004, 14:47:47
Copyright (C) 2000-2004 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' schema
- handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
- handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' schema
>
> but now when I try to do anything I get an error
>
> svn: PROPFIND request failed on '/svn/branches/mybar'
> svn: PROPFIND of '/svn/branches/mybar': Could not resolve hostname
> `url': No such host is known. (http://url)
Rewrite the SVNROOT portion of the URLs in your working copy by running
svn switch --relocate http://url http://url1
[TM] nice to know... I nearly started editing the .svn/entries files!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 28 15:38:11 2005