Черепаха CVS слияния веток

1281
Maxbester

У меня есть две ветви DEVELOPPEMENTи DEVELOPPEMENT2.

CVS слияние

Я хотел бы объединиться DEVELOPPEMENTи DEVELOPPEMENT2в одну ветку, но пока не в HEAD.

Как это сделать с Черепаховым ЧМИ? Я не могу найти документацию по этому вопросу.

Tortoise CVS Merge

2
Перекрестная публикация не допускается. Пожалуйста, удалите один из вопросов. Dave 10 лет назад 0
Похоже, что этот вопрос [перекрестный пост] (http://stackoverflow.com/questions/21680467/tortoise-cvs-merge-branches). Пожалуйста, не делай этого. Sathya 10 лет назад 0
@ Сатья Я удалил вопрос из Stackoverflow. Является ли Superuser лучшим местом для публикации? Maxbester 10 лет назад 0
@Maxbester между двумя, [так], вероятно, лучший выбор .. дайте мне знать, если вы не получите никаких ответов в течение нескольких дней, я перенесу его для вас. Sathya 10 лет назад 0

2 ответа на вопрос

0
Sathya

I don't have Tortise CVS, but the way to go about should be to switch your Working directory from HEAD to either DEVELOPPEMENT or DEVELOPPEMENT2

once switched, perform the merge, you should get the file in the same branch off which you're working. Then do the commit.

Спасибо за помощь. Однако я не понимаю полей `Start`,` End` и `Bug`. Maxbester 10 лет назад 0
@Maxbester Я считаю, что в начале и конце следует упомянуть начальную и конечную ревизии / ветви, которые вы хотите объединить. Ошибка, вероятно, является комментарием, который будет исправлен, чтобы зафиксировать сообщение Sathya 10 лет назад 0
Итак, start должен быть `DEVELOPPEMENT2`, а end должен быть` DEVELOPPEMENT`? Или это наоборот? Maxbester 10 лет назад 0
@max Я думаю, начало должно быть старшим, а конец - новым. Вы можете попробовать, слияние не зафиксирует его, поэтому просто продолжайте слияние и посмотрите, все ли в порядке, а затем подтвердите его Sathya 10 лет назад 0
0
Fernando Tegli

Source: c:\Program Files\TortoiseCVS\UserGuide_en.chm

Merging from a Branch When you are satisfied with the changes you have done on a branch, you may want those changes to be available on the head branch of development. Incorporating changes from one branch to another, is known as merging.

To merge from a branch, move your local copy to the branch you want to merge the changes into. See Selecting a Branch to Work On or Going Back to the Head Branch. Select the top level folder of the project. You can also select the exact folders and files that are part of the desired branch if you know this information. Right-click the on the selection, and choose CVS → Merge....

Merge Dialog You will then be presented with the Merge Dialog. Here you can enter the branch name in the Branch to merge from field you wish to merge. Click the OK button, and TortoiseCVS will now merged the branch specified into your local copy. Your changes will not be made on the server repository, until you commit your changes.

Все, что не является вашими собственными словами, должно содержаться в цитате Ramhound 9 лет назад 0