You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Bala Paranj <bp...@yahoo.com> on 2007/06/19 09:10:01 UTC

Local and Remote Repository

I have a local SVN repository that uses file:/// protocol. I have setup a remote repository that
uses http protocol. If I checkout the remote repository to a new directory and then copy the
latest files to that directory, I am not able to commit the new files to the remote repository. 

How do I commit from my local machine to the remote repository? TIA.

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

Re: Local and Remote Repository

Posted by Will Appleton <wf...@gmail.com>.
On 6/19/07, Bala Paranj <bp...@yahoo.com> wrote:
> I have a local SVN repository that uses file:/// protocol. I have setup a remote repository that
> uses http protocol. If I checkout the remote repository to a new directory and then copy the
> latest files to that directory, I am not able to commit the new files to the remote repository.
>
> How do I commit from my local machine to the remote repository? TIA.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

Not sure I understand the steps you followed to get the errors.

You should export the working copy of the old repo to a new location.
Then copy the exported files to your new working copy of the new repo.
Then  svn add those files to the new working copy of the new repo.
Then svn ci the newly added files to your new repo.

Will Appleton

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

Re: Local and Remote Repository

Posted by Bala Paranj <bp...@yahoo.com>.
I got a hosting account for Subversion and Rails after I finished my development. So now I am
migrating from local repository to a remote repository.

The server is CentOS 5 and has Subversion, version 1.4.2 (r22196). I am on Mac OS X 10.4.9 and
Subversion, version 1.4.3 (r23084) - compiled Jan 28 2007, 22:44:35

$ svn commit
svn: Commit failed (details follow):
svn: Directory '/Users/balaparanj/work/myproject/coverage/.svn' containing working copy admin area
is missing

When I do svn st, I see 'S' on some directories:

  L    .
    S  test
    S  app
?      app/views/home/tools.rhtml
    S  log
...

I tried svn cleanup, but I got:

svn: 'coverage' is not a working copy directory

I don't need that directory in svn. So I ran:

 svn propset svn:ignore "*" coverage and I got the error:
svn: Directory 'coverage/.svn' containing working copy admin area is missing

Thanks for the help.

--- Ryan Schmidt <su...@ryandesign.com> wrote:

> 
> On Jun 19, 2007, at 04:10, Bala Paranj wrote:
> 
> > I have a local SVN repository that uses file:/// protocol. I have  
> > setup a remote repository that
> > uses http protocol. If I checkout the remote repository to a new  
> > directory and then copy the
> > latest files to that directory, I am not able to commit the new  
> > files to the remote repository.
> >
> > How do I commit from my local machine to the remote repository? TIA.
> 
> a) What error message do you get? What version(s) of Subversion are  
> you using? on what server and client OSes? on what hardware?
> 
> b) Why do you have two repositories that you're trying to move  
> content between? Usually, you'd set up only a single repository,  
> accessible to all the machines from which you want to access it.  
> Perhaps I misunderstand your scenario; if so, please describe it.
> 
> 
> 
> ---------------------------------------------------------------------
> 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

Re: Local and Remote Repository

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jun 19, 2007, at 04:10, Bala Paranj wrote:

> I have a local SVN repository that uses file:/// protocol. I have  
> setup a remote repository that
> uses http protocol. If I checkout the remote repository to a new  
> directory and then copy the
> latest files to that directory, I am not able to commit the new  
> files to the remote repository.
>
> How do I commit from my local machine to the remote repository? TIA.

a) What error message do you get? What version(s) of Subversion are  
you using? on what server and client OSes? on what hardware?

b) Why do you have two repositories that you're trying to move  
content between? Usually, you'd set up only a single repository,  
accessible to all the machines from which you want to access it.  
Perhaps I misunderstand your scenario; if so, please describe it.



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