SVN merge with multiple revisions [Not Range]
up vote
0
down vote
favorite
I am trying to merge some specific revisions of a source branch to destination branch. Using Python script.
When I use svn merge --dry-run
range of revisions works fine. -r 72338:HEAD
Single revision works fine -c 72338
.
If I use multiple revisions -c 71750 -c 72338
, SVN merge is taking only first revision.
I need to merge multiple revisions such as 71750
, 72338
, 72394
.
Is it possible?
My code
import subprocess
p = subprocess.Popen("svn merge --dry-run -c71750 -c72238 https://URL/", stdout=subprocess.PIPE, shell=True)
output, err = p.communicate()
Output
Output is --- Merging r71750 into '.':
C /path/to/file.java
Summary of conflicts:
Text conflicts: 1
python svn svn-merge
add a comment |
up vote
0
down vote
favorite
I am trying to merge some specific revisions of a source branch to destination branch. Using Python script.
When I use svn merge --dry-run
range of revisions works fine. -r 72338:HEAD
Single revision works fine -c 72338
.
If I use multiple revisions -c 71750 -c 72338
, SVN merge is taking only first revision.
I need to merge multiple revisions such as 71750
, 72338
, 72394
.
Is it possible?
My code
import subprocess
p = subprocess.Popen("svn merge --dry-run -c71750 -c72238 https://URL/", stdout=subprocess.PIPE, shell=True)
output, err = p.communicate()
Output
Output is --- Merging r71750 into '.':
C /path/to/file.java
Summary of conflicts:
Text conflicts: 1
python svn svn-merge
-c 71750 72238
is working only if the 71750 doesn't have any conflicts.
– Bromount
Nov 14 at 16:44
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to merge some specific revisions of a source branch to destination branch. Using Python script.
When I use svn merge --dry-run
range of revisions works fine. -r 72338:HEAD
Single revision works fine -c 72338
.
If I use multiple revisions -c 71750 -c 72338
, SVN merge is taking only first revision.
I need to merge multiple revisions such as 71750
, 72338
, 72394
.
Is it possible?
My code
import subprocess
p = subprocess.Popen("svn merge --dry-run -c71750 -c72238 https://URL/", stdout=subprocess.PIPE, shell=True)
output, err = p.communicate()
Output
Output is --- Merging r71750 into '.':
C /path/to/file.java
Summary of conflicts:
Text conflicts: 1
python svn svn-merge
I am trying to merge some specific revisions of a source branch to destination branch. Using Python script.
When I use svn merge --dry-run
range of revisions works fine. -r 72338:HEAD
Single revision works fine -c 72338
.
If I use multiple revisions -c 71750 -c 72338
, SVN merge is taking only first revision.
I need to merge multiple revisions such as 71750
, 72338
, 72394
.
Is it possible?
My code
import subprocess
p = subprocess.Popen("svn merge --dry-run -c71750 -c72238 https://URL/", stdout=subprocess.PIPE, shell=True)
output, err = p.communicate()
Output
Output is --- Merging r71750 into '.':
C /path/to/file.java
Summary of conflicts:
Text conflicts: 1
python svn svn-merge
python svn svn-merge
edited Nov 14 at 8:25
asked Nov 14 at 7:33
Bromount
12
12
-c 71750 72238
is working only if the 71750 doesn't have any conflicts.
– Bromount
Nov 14 at 16:44
add a comment |
-c 71750 72238
is working only if the 71750 doesn't have any conflicts.
– Bromount
Nov 14 at 16:44
-c 71750 72238
is working only if the 71750 doesn't have any conflicts.– Bromount
Nov 14 at 16:44
-c 71750 72238
is working only if the 71750 doesn't have any conflicts.– Bromount
Nov 14 at 16:44
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
For Multiple revisions we can use -c
option with a space in-between the revision numbers.
-c 71750 72238
svn merge will go to the 72338 revision Merging only if 71750 revision doesn't have any conflicts with working copy or destination.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
For Multiple revisions we can use -c
option with a space in-between the revision numbers.
-c 71750 72238
svn merge will go to the 72338 revision Merging only if 71750 revision doesn't have any conflicts with working copy or destination.
add a comment |
up vote
0
down vote
For Multiple revisions we can use -c
option with a space in-between the revision numbers.
-c 71750 72238
svn merge will go to the 72338 revision Merging only if 71750 revision doesn't have any conflicts with working copy or destination.
add a comment |
up vote
0
down vote
up vote
0
down vote
For Multiple revisions we can use -c
option with a space in-between the revision numbers.
-c 71750 72238
svn merge will go to the 72338 revision Merging only if 71750 revision doesn't have any conflicts with working copy or destination.
For Multiple revisions we can use -c
option with a space in-between the revision numbers.
-c 71750 72238
svn merge will go to the 72338 revision Merging only if 71750 revision doesn't have any conflicts with working copy or destination.
answered Nov 14 at 16:49
Bromount
12
12
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53295114%2fsvn-merge-with-multiple-revisions-not-range%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
-c 71750 72238
is working only if the 71750 doesn't have any conflicts.– Bromount
Nov 14 at 16:44