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

Re: svn+ssh commit acting odd

From: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-06-28 10:37:28 CEST

On Jun 28, 2006, at 07:41, Robert Gravina wrote:

> I have successfully checked out from an svn+ssh repository, but
> commit fails with an error suggesting that it is looking for a
> repository on my local machine. The svn info looks fine though. I
> am using subversion 1.3.2 on Mac OS X.
>
> Here's step by step what I did.
>
> 1) checkout
>
> PowerMoko:~/sync/workspace/SalesPipeline rgravina$ svn co svn+ssh://
> deskimo@dev.deskimo.net/home/deskimo/repos/salespipeline/trunk ./
> deskimo@dev.deskimo.net's password:
> deskimo@dev.deskimo.net's password:
> deskimo@dev.deskimo.net's password:
> A spserver.py
> A zodb.conf
> A zodb_tests.conf
> A TODO
> A images
> A images/splash.png
> A server.pem
> A setup.py
> A spclient.py
> A sptestcases.py
> A data
> A data/Data.fs.tmp
> A data/Data.fs
> A data/Data.fs.index
> A README
> A salespipeline
> A salespipeline/test
> A salespipeline/test/test_logon.py
> A salespipeline/test/__init__.py
> A salespipeline/test/test_lead.py
> A salespipeline/test/test_pipeline.py
> A salespipeline/error.py
> A salespipeline/__init__.py
> A salespipeline/server
> A salespipeline/server/tools
> A salespipeline/server/tools/zodb_inspector.py
> A salespipeline/server/__init__.py
> A salespipeline/server/server.py
> A salespipeline/model.py
> A salespipeline/client
> A salespipeline/client/presenters.py
> A salespipeline/client/interactors.py
> A salespipeline/client/views.py
> A salespipeline/client/client.py
> A salespipeline/client/__init__.py
> A salespipeline/client/models.py
> Checked out revision 2.

Your checkout included the directories data, images and salespipeline...

> 2) checked info
> PowerMoko:~/sync/workspace/SalesPipeline rgravina$ svn info
> Path: .
> URL: svn+ssh://deskimo@dev.deskimo.net/home/deskimo/repos/
> salespipeline/trunk
> Repository Root: svn+ssh://deskimo@dev.deskimo.net/home/deskimo/repos
> Repository UUID: abbcfa0d-c616-0410-8bc1-81a133ca7948
> Revision: 2
> Node Kind: directory
> Schedule: normal
> Last Changed Author: deskimo
> Last Changed Rev: 2
> Last Changed Date: 2006-06-28 13:42:35 +0900 (Wed, 28 Jun 2006)
>
> 3) I updated some files (copied over them with newer versions),
> then checked the status
>
> PowerMoko:~/sync/workspace/SalesPipeline rgravina$ svn status
> ? .project
> S images
> S data
> M data/Data.fs.tmp
> M data/Data.fs
> M data/Data.fs.index
> ? salespipeline/error.pyc
> ? salespipeline/__init__.pyc
> ? salespipeline/model.pyc
> S salespipeline
> ? salespipeline/test/_trial_temp
> ? salespipeline/server/server.pyc
> ? salespipeline/server/__init__.pyc
> M salespipeline/server/server.py
> M salespipeline/model.py
> ? salespipeline/client/presenters.pyc
> ? salespipeline/client/interactors.pyc
> ? salespipeline/client/views.pyc
> ? salespipeline/client/client.pyc
> ? salespipeline/client/__init__.pyc
> ? salespipeline/client/models.pyc
> M salespipeline/client/presenters.py
> M salespipeline/client/views.py

Now the directories data, images and salespipeline are now
"switched". Did you copy the entire directories data, images and
salespipeline, including the .svn directories inside them, from a
different working copy? That's what it looks like. If you wanted to
take over all the changes from a directory in another working copy,
you would instead have to copy all files *except* those in the .svn
directory, and leave the .svn directory in the target working copy
exactly as it is, else Subversion can't remember what repository the
directory came from.

> 4) I tried to commit, but got this error
>
> PowerMoko:~/sync/workspace/SalesPipeline rgravina$ svn commit -m
> "Fixes #2"
> svn: Commit failed (details follow):
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 'file:///home/deskimo/repos/
> salespipeline/trunk'
> PowerMoko:~/sync/workspace/SalesPipeline rgravina$

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 28 10:38:54 2006

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.