Announcement

Collapse
No announcement yet.

switch vs. switch relocate

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • switch vs. switch relocate

    Hello all. It is unclear to me what the relocate flag for the switch command does. How does "switch relocate" differ from "switch". The manual is not explicit and googling the keywords returns many results of people recommending one or the other, but no explanations. Can someone describe explicitly what the difference is? Thanks.

  • #2
    Switch changes the path within the server/repository that your WC points to.

    Relocate changes the server/repository while keeping the path within the repository unchanged.

    Read svn help switch, it will fill you in.

    You can't change the server/repository and path within the repository at the same time (learned that one the hard way).

    Comment


    • #3
      Thank you andyl. That was concise and clear. Have a great evening.

      Comment

      Working...
      X