‘svn info WORKINGCOPY’ will tell you the url in the repository and the repository root.
Assuming that you have access to the entire repository you probably want to sync from the repository root to an empty repository to have a local backup. (Look in http://svnbook.red-bean.com for details on how to setup the right hooks, etc)
And with a bit less time pressure you can then sync that to google code.
Bert
Good point… our just use svnrdump to dump the repo… then you can take that file, load it into a repo on another machine and then sync that to google.
Not sure how we got off list. But, I just used svnsync to move a repo to google code.. it was pretty easy. Just follow the instructions on their wiki page:
How do I import an existing Subversion repository?
To upload the history of an existing Subversion repository, use the svnsync tool that ships with Subversion 1.4 or later. Run svnsync help to read more about this tool.
Note that your Google Code repository must be reset to revision 0 for this to work. Your project's Source tab will display instructions on how to reset the repository yourself. (Note: you must be a project owner to reset your own repository, and also to push code up with svnsync.)
Here's a sample transcript that demonstrates how you can push history from an existing repository (located at file:///my/repos) to your repository on Google Code:
$ svnsync init
--username YOURUSERNAME https://YOURPROJECT.googlecode.com/svn
file:///path/to/localrepos
Copied properties
for revision
0.
$ svnsync sync --username YOURUSERNAME https://YOURPROJECT.googlecode.com/svn
Committed revision
1.
Copied properties
for revision
1.
Committed revision
2.
Copied properties
for revision
2.
[...]
When prompted for your password, use your googlecode.com password, which can be found on the settings tab of your profile page.
Running svnsync on a large repository will take a significant amount of time. If you are disconnected during the process, you may see the error message "svnsync: Couldn't get lock on destination repos after 10 attempts". If this happens, you can remove the lock yourself; see the "Locks" section of svnsync.txt.
BOb
From: David Goldsmith [mailto:eulergau...@gmail.com]
Sent: Thursday, October 31, 2013 3:25 PM
To: Bob Archer
Subject: Re: Windows file:/// URL format for svnsync
They used to have restrictions--for security--on what kind of executable code you could upload, but I think that was (is?) just for Google docs; AFA Google Code is concerned, seeing as how it's intended as an open source code hub, they allow just about anything (at least, anything text-based)--if there are restrictions, they don't feature them prominently, so I'm not aware of them.
YOU!...are Big Data.
On Thu, Oct 31, 2013 at 11:23 AM, Bob Archer <Bob.A...@amsi.com> wrote:
I’ve never used google reports. Do they let you upload and import a dump file?
From: David Goldsmith [mailto:eulergau...@gmail.com]
Sent: Thursday, October 31, 2013 2:05 PM
To: Bob Archer
Subject: Re: Windows file:/// URL format for svnsync
Why wouldn't I just upload it to Google? I guess what I'm missing is: how does SVN "recognize" history? By path and filename? So, if I preserve that, shouldn't that be enough to preserve the history? Thanks again!
DG
YOU!...are Big Data.
Are you sure you are specifying a REPOSITORY and not a working copy???