Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


Tortoise SVN Questions


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 maya18222   Members   -  Reputation: 191

Like
0Likes
Like

Posted 21 April 2013 - 08:29 AM

I've been playing about with tortoise svn and have a few questions.

 

In the case where I have created a trunk, and then copied that to a branch, modified some files in the trunk, and commited those trunk changes.

 

Case 1:

Step A) I merge from trunk to branch using "merge a range of revisions" with the "revision range to use" left blank, all goes well and I see the latest chnages from trunk in the branch, with the branch folder now having the red icon as expected. I then commit those changes in the branch and the branch icon turns green.

 

Step B) Without modifying anything, I thought I'd see what happens if I try merging from trunk to branch again. I expected nothing to happen as no further changes have been made. Yet, merging from trunk to branch again with "merge a range of revisions" with the "revision range to use" left blank causes the branch icon to again turn red. I didn't expect this, as no files have been changed. If I right click the branch and view "check for modifications" I see that the folder has a "property change"?

 

Case 2:

If I do the exact same thing, but this time not leaving the "revision range to use" blank, but instead selecting the revisions where the files changed. Step A) gives the same results, but Step B) now works as I would expect, in that the branch remains with its green icon and there are no changes.

 

Can someone explain the behaviour in the first case?

 

secondly, if I'm wanting to periodcially merge from branch to trunk, should I be using "Merge a range of revisions" or "Reintegrate branch"?



Sponsor:

#2 RobTheBloke   Crossbones+   -  Reputation: 2341

Like
0Likes
Like

Posted 01 May 2013 - 06:42 AM

Before I answer this, do you actually need to be using an SVN repository? (Or are you just trying out SVN?). Unless you have an existing codebase + SVN repo, using Tortoise GIT would be a much better alternative (and use Git for the repo). SVN is fairly unpleasant when it comes to merging branches, and often has a few quirks in the process (which by the looks of things, you're starting to hit). For the second question, I'd personally use "Reintegrate branch" for a feature branch (and leave the trunk in as clean & stable a state as possible).






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS