Ways to Reposition SVN addresses (Windows and Linux), SVN switch (SW) Help information

Source: Internet
Author: User
Tags prev svn update

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?
  1. Root @jack -desktop : Codes # SVN Info   
  2. Path:.
  3. Url:http://192.168.1.58/repos
  4. Version Coogan: Http://192.168.1.58/repos/linux_monitor
  5. Version Library UUID:81FE7417-A8B1-40D6-90B8-661973047DC1
  6. Version: 80
  7. Node Type: directory
  8. Dispatch: Normal
  9. Last modified by the author: Chenjiankang
  10. Last modified version: 80
  11. Last modified time: 2013-07-10 18:30:13 +0800 (three, 2013-07-10)
  12. 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?
    1. [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?
  1. [Email protected]:codes # SVN switch--help   
  2. Switch (SW): Updates the working copy to a different URL.
  3. Usage: 1, switch url[@PEGREV] [PATH]
  4. 2  , switch--relocate from to [PATH ...]
  5. 1 , update the working copy, and switch to the new URL in the same repository. It behaves like "svn update",
  6. It is also a way to switch the working copy to a branch or label in the same repository. Pegrev decided from,
  7. Which version looks for the target.
  8. If the "--force" option is used, no version-controlled barrier paths in the working copy are automatically
  9. Causes the failure. If the barrier path is the same as the corresponding path type in the repository (file or directory), it will be
  10. 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
  11. The path, it is also subject to version control. For files in the barrier path, if they are different from the repository,
  12. is treated as a local modification of the working copy. All properties in the repository are applied to the barrier path.
  13. Use the--set-depth option to set the new depth of the working copy of this action target. The current working copy of the
  14. Depth can only be increased (embedded deeper); you can't let the directory shrink.
  15. 2 , rewrite the URL metadata of the working copy to reflect a simple URL change. When the repository's root URL is changed
  16. Changes (such as a schema or host name change), but the working copy still corresponds to the same directory as the same repository
  17. , use this command to update the correspondence between the working copy and the archive.
  18. See "SVN help Update" for a list of characters that report execution actions.
  19. Valid options:
  20. -R [--revision] Arg:arg (some commands also accept ARG1:ARG2 range)
  21. The version parameter can be one of the following:
  22. Number version
  23. ' {' DATE '} ' versions after a specified time
  24. ' HEAD ' the latest version in the repository
  25. ' BASE ' baseline version of the working copy
  26. ' COMMITTED ' before the final submission or baseline
  27. ' PREV ' Previous version of committed
  28. -N [--non-recursive]: obsolete; try--depth=files or--depth=immediates
  29. --depth ARG: Operation constrained by depth parameter arg ("Empty", "Files", "Immediates", or "infinity")
  30. --set-depth ARG: Sets the new depth of the working copy to ARG ("Exclude", "empty", "Files", "Immediates",
  31. or "infinity")
  32. -Q [--quiet]: Do not print information or print only summary information
  33. --diff3-cmd ARG: Use arg as the merge command
  34. --relocate: repositioning with URL rewriting
  35. --ignore-externals: Ignoring external items
  36. --force: Forcing operations to run
  37. --accept ARG: Specifies automatic conflict resolution action
  38. (' Postpone ', ' base ' , ' mine-conflict ',
  39. ' Theirs-conflict ' ,  ' Mine-full ' ,  ' Theirs-full ' ,  
  40. ' edit ' ,  ' launch ' )  
  41. Global options:
  42. --username arg: Specify User name arg
  43. --password arg: Specify the password arg
  44. --no-auth-cache: Do not cache user authentication tokens
  45. --non-interactive: Do not interact with hints
  46. --trust-server-cert: Do not prompt to accept the Unknown SSL server certificate (only for option "--non-interactive")
  47. --config-dir arg: Read user profile from directory ARG
  48. --config-option ARG: Set User Configuration options in subordinate format:
  49. File:section:option=[value]
  50. For example:
  51. Servers:Global: Http-library=serf
  52. [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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.