Subversion Concepts for StarTeam

I would like to know how to perform the following general StarTeam tasks in SVN

1. How to update a tag to include a newer version of only one file?

After creating the view label in StarTeam (similar to the tag in SVN) - I was able to include a newer version of the file in this view label - for example, update the view to include only this file (and not others that have also changed since the creation of this view label

2. How to create a tag based on another tag?

When development continues with the release of a version, some features are not included, although they are checked. In StarTeam, I used to create a presentation label (again, like a tag) based on a previous view (and then did what I describe in question 1). I understand that in SVN I can create a tag based on another, but that it is read-only and I need a branch. but I really don’t really need a branch.

3. How to register / add to an existing tag?

In StarTeam, the view label is on the trunk / branch, so I can check the file after creating the view and change it to include it, in SVN I need to check in the branch

+3
source share
1 answer

, , StarTeam, , .

Subversion . , - , . - "svn copy", "". - , - , . svn , - , . . ... " ".

" " StarTeam , svn externals . , .

...

1) . ? 1 ( , 1 ). , .

, :

------------------------------------> /trunk
 |     | fix merged to 1.0 branch
 |     v
  \------------> /branches/1.0
    |  ^ |
    |    \ /tags/1.1  1.1 tag, fix released to customer(s)
    \ /tags/1.0 - 1.0 GA tag, release sent to customer(s)

. 10 1.0! :

svn copy /path/to/trunk /path/to/branches/1.0

, 1.0. , :

svn copy /path/to/branches/1.0 /path/to/tags/1.0

, , .

//, 1.0, . .

, 15. ( /branches/ 1.0 ):

svn merge -c 15 /url/to/repo/path/to/trunk

. , . , , , , . → → commit workflow, , , , . ( ), , 1 , , . 100% cmd, , :

svn diff -c 15/path/to/file ( ) > my-patch.diff

. / , ​​ .

, .

svn copy/path/to/branches/1.0/path/to/tags/1.1

, , 1 . # 3 , ( , , ). r, , .

2) , , . , , , ( ), , ( ), , .

3) , . / (I - , "", -), . ( ) " svn" , , . # 1, # 2, . - . - toa - , , .

./path/to/production, /tags/ 1.0, , # 2 /tags/ 1.1 . .

, .

+7

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


All Articles