since May this year has not been connected to Google Code, the wall is extremely unstable, after enduring a few months finally decided to move the project away from Google Code, after the study finally realized the relocation to the local, and finally summarized into the following. Accesses than either expect a little help from those who need it. , and they are recorded for inspection.
First, create a local version of the warehouse
- Open the local repository directory you want to create eg:D:\WinPath\desktop\11
- Right-click "TortoiseSVN", "Create repository Here", "OK"
- Note Do not select "Create Default Structure", which will cause the import to fail
Second, modify the script "Pre-revprop-change.tmpl"
- Local repository Directory "hooks" directory, this example path is "D:\WinPath\desktop\11\hooks"
- Modify the last line of "Pre-revprop-change.tmpl" to: "Exit 0"
- As shown in the following:
third, continue to create the "pre-revprop-change.bat" file
- Create a "pre-revprop-change.bat" file under the current directory ("hooks")
- File contents:
1 echo "changing revision properties other than Svn:log is prohibited" >&2
2 exit 0
- As shown in the following:
Four, run the command line
- Initialize Svnsync init file:///d:\winpath\desktop\11\ https://yourproject.googlecode.com/svn
- Sync svnsync sync file:///d:\winpath\desktop\11\
Wu, relocate
- Relocate the original project to the new file:///d:\winpath\desktop\11\ .
Vi. Attention
- You can also use the local SVN server instead of the local repository and replace the local library directory path directly with the local SVN server path (eg:https://hostname:8443/svn/test1 ) (file:///d:\ Winpath\desktop\11\ ) on it.
Migrating items on Google code to the local repository