Tag Update in svn

If I use svn copyparts of the repository to take a snapshot, how can I update this snapshot?

Use Case:

myrepo/
  trunk/
    src/
      something.c
      something.h
  tags/
  branches/

mkdir branches/user1/trusted

svn add branches/user1/

svn copy trunk/src branches/user1/trusted

myrepo/
  trunk/
    src/
      something.c
      something.h
  tags/
  branches/
    user1/
      trusted/
        src/
          something.c
          something.h

--- commitments and changes occur in trunk/src/something.*here ---

myrepo/
  trunk/
    src/
      neatstuff.c           // new file
      something.c           // modified
      big_ugly_include.h    // was something.h, it got renamed
  tags/
  branches/
    user1/
      trusted/
        src/
          something.c
          something.h

Now I want the / user 1 / trusted / src branches to be the latest version of trunk / src. How can i do this?

+3
source share
2 answers

this operation is called merge. Subversion book details it.

edit a bit more:

Rob sgreeve, - . , , - . , , .

+3

, , .

+2

Source: https://habr.com/ru/post/1720503/


All Articles