Today the company's router problems, the server's IP address has changed, but the original SVN has been set up, now need to change the address
Method of querying the original address:
[Ruby]View PlainCopyPrint?
- Root @jack -desktop : Codes # SVN Info
- Path:.
- Url:http://192.168.1.58/repos
- Version Coogan: Http://192.168.1.58/repos/linux_monitor
- Version Library UUID:81FE7417-A8B1-40D6-90B8-661973047DC1
- Version: 80
- Node Type: directory
- Dispatch: Normal
- Last modified by the author: Chenjiankang
- Last modified version: 80
- Last modified time: 2013-07-10 18:30:13 +0800 (three, 2013-07-10)
- Root@jack-desktop: Codes#
[Email protected]:codes# svn info path:. Url:http://192.168.1.58/repos version Coogan: Http://192.168.1.58/repos/linux_monitor version Library UUID: 81FE7417-A8B1-40D6-90B8-661973047DC1 Version: 80 node Type: Directory Scheduler: The author of the normal Last modified: Chenjiankang Last modified: 80 Last Modified: 2013-07-10 18:30:13 + 0800 (three, 2013-07-10) [email protected]:codes#
Methods to update to 192.168.1.13:
Under Linux:
[Python]View PlainCopyPrint?
- [Email protected]:codes # SVN switch--relocate http://192.168.1.58/repos http://192.168.1.13/repos
[Email protected]:codes# svn switch--relocate http://192.168.1.58/repos
Help information for SVN switch (SW)
[Python]View PlainCopyPrint?
- [Email protected]:codes # SVN switch--help
- Switch (SW): Updates the working copy to a different URL.
- Usage: 1, switch url[@PEGREV] [PATH]
- 2 , switch--relocate from to [PATH ...]
- 1 , update the working copy, and switch to the new URL in the same repository. It behaves like "svn update",
- It is also a way to switch the working copy to a branch or label in the same repository. Pegrev decided from,
- Which version looks for the target.
- If the "--force" option is used, no version-controlled barrier paths in the working copy are automatically
- Causes the failure. If the barrier path is the same as the corresponding path type in the repository (file or directory), it will be
- is a version-controlled path, but the content does not change. It means the offspring of the barrier path, if it is also a barrier
- The path, it is also subject to version control. For files in the barrier path, if they are different from the repository,
- is treated as a local modification of the working copy. All properties in the repository are applied to the barrier path.
- Use the--set-depth option to set the new depth of the working copy of this action target. The current working copy of the
- Depth can only be increased (embedded deeper); you can't let the directory shrink.
- 2 , rewrite the URL metadata of the working copy to reflect a simple URL change. When the repository's root URL is changed
- Changes (such as a schema or host name change), but the working copy still corresponds to the same directory as the same repository
- , use this command to update the correspondence between the working copy and the archive.
- See "SVN help Update" for a list of characters that report execution actions.
- Valid options:
- -R [--revision] Arg:arg (some commands also accept ARG1:ARG2 range)
- The version parameter can be one of the following:
- Number version
- ' {' DATE '} ' versions after a specified time
- ' HEAD ' the latest version in the repository
- ' BASE ' baseline version of the working copy
- ' COMMITTED ' before the final submission or baseline
- ' PREV ' Previous version of committed
- -N [--non-recursive]: obsolete; try--depth=files or--depth=immediates
- --depth ARG: Operation constrained by depth parameter arg ("Empty", "Files", "Immediates", or "infinity")
- --set-depth ARG: Sets the new depth of the working copy to ARG ("Exclude", "empty", "Files", "Immediates",
- or "infinity")
- -Q [--quiet]: Do not print information or print only summary information
- --diff3-cmd ARG: Use arg as the merge command
- --relocate: repositioning with URL rewriting
- --ignore-externals: Ignoring external items
- --force: Forcing operations to run
- --accept ARG: Specifies automatic conflict resolution action
- (' Postpone ', ' base ' , ' mine-conflict ',
- ' Theirs-conflict ' , ' Mine-full ' , ' Theirs-full ' ,
- ' edit ' , ' launch ' )
- Global options:
- --username arg: Specify User name arg
- --password arg: Specify the password arg
- --no-auth-cache: Do not cache user authentication tokens
- --non-interactive: Do not interact with hints
- --trust-server-cert: Do not prompt to accept the Unknown SSL server certificate (only for option "--non-interactive")
- --config-dir arg: Read user profile from directory ARG
- --config-option ARG: Set User Configuration options in subordinate format:
- File:section:option=[value]
- For example:
- Servers:Global: Http-library=serf
- [Email protected]:codes#
[email protected]:codes# SVN switch--help switch (SW): Update the working copy to a different URL. Usage: 1, switch url[@PEGREV] [path] 2, switch--relocate from to [path ...] 1. Update the working copy and switch to the new URL in the same repository. It behaves like "SVN update" and is a way to switch a working copy to a branch or label in the same repository. Pegrev decides which version to find the target from. If the "--force" option is used, the non-versioned barrier path in the working copy does not automatically cause a failure. If the barrier path is the same as the corresponding path type (file or directory) in the repository, it becomes a versioned path, but the content does not change. It means that the descendants of the barrier path, if it is also a barrier path, are also subject to version control. Files in the barrier path, if different from the repository, are treated as local modifications to the working copy. All properties in the repository are applied to the barrier path. Use the--set-depth option to set the new depth of the working copy of this action target. The current working copy depth can only be increased (embedded deeper); you can't let the directory shrink. 2. Rewrite the URL metadata of the working copy to reflect the simple URL change. Use this command to update the corresponding relationship between the working copy and the archive when the repository's root URL changes (such as a schema or host name change), but the working copy still corresponds to the same directory as the same repository. See "SVN help Update" for a list of characters that report execution actions. Valid options:-R [--revision] Arg:arg (some commands also accept ARG1:ARG2 range) The version parameter can be one of the following: Number Version ' {' DATE '} ' in version ' HEAD ' after a specified time The latest version of ' base ' in the repository The baseline version of the working copy ' COMMITTED ' was last submitted or before the baseline ' PREV ' COMMITTED Previous version-n [--non-recursive]: obsolete; try--depth=files or--depth=immediates--depth arg: By the depth parameter arg ("Empty", "f Iles "," immediates ", or" infinity ") constrained operation--set-depth ARG: Sets the new depth of the working copy to ARG (" Exclude "," empty "," Files "," Immediates ", or "infinity")-Q [--quiet]: Do not print information, or print only summary information--diff3-cmd ARG: Use arg as the merge Command--relocate: Relocate--ignore-externals by URL rewrite: Ignore external project--force: Force operation Run--accept ARG: Specifies automatic resolution of conflict actions (' postpone ', ' base ', ' mine-conflict ', ' Theirs-conflict ', ' mine-full ', ' theirs-full ', ' edit ', ' launch ') global options:--username ARG : Specify user name arg--password arg: Specify password arg--no-auth-cache: Do not cache user authentication token--non-interactive: Do not Interactive Tips--trust-server-cerT: Accept unknown SSL server certificate without prompting (only option "--non-interactive")--config-dir arg: Read user profile from directory ARG--config-option Arg : Set User Configuration options in subordinate format: File:section:option=[value] For example: servers:global:[email protected]:codes#
TORTOISESVN update address under Windows:
Ways to Reposition SVN addresses (Windows and Linux), SVN switch (SW) Help information