SVN Re-include a revision

Multi tool use
up vote
-1
down vote
favorite
Lets say I have 4 commits in my repository
Commit 1
Commit 2
Commit 3
Commit 4
I wanted to deploy a version of the code that did not include 2 and 3 and so I right clicked on these commits and clicked "Revert changes from this revison" for both of them. I checked the code and this correctly removed only these commits.
I then committed my local version and deployed the code.
Now I want to to include these commits again but I am unsure how to do this.
Any help would be appreciated.
Thanks!
svn version-control commit revert
add a comment |
up vote
-1
down vote
favorite
Lets say I have 4 commits in my repository
Commit 1
Commit 2
Commit 3
Commit 4
I wanted to deploy a version of the code that did not include 2 and 3 and so I right clicked on these commits and clicked "Revert changes from this revison" for both of them. I checked the code and this correctly removed only these commits.
I then committed my local version and deployed the code.
Now I want to to include these commits again but I am unsure how to do this.
Any help would be appreciated.
Thanks!
svn version-control commit revert
Did you commit your code after reverting the two revisions?
– royalTS
Nov 8 at 10:03
Yes, I removed the two revisions and then committed.
– semiColon
Nov 8 at 10:17
So you could do the same thing, undo this revision and everything should be fine
– royalTS
Nov 8 at 12:13
Sorry, I failed to mention that after I removed commits 2 & 3, I then made some changes and committed these changes without 2 and 3. Then I deployed that code, and now I want to include 2 and 3 as well as the new changes I made.
– semiColon
Nov 8 at 13:40
I would then take a look at the topic of patches. Maybe you can make a patch from your commits 2 and 3 and apply this one to your current working copy. make.wordpress.org/core/handbook/tutorials/working-with-patches svnbook.red-bean.com/en/1.8/svn.ref.svn.c.patch.html
– royalTS
Nov 8 at 14:30
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
Lets say I have 4 commits in my repository
Commit 1
Commit 2
Commit 3
Commit 4
I wanted to deploy a version of the code that did not include 2 and 3 and so I right clicked on these commits and clicked "Revert changes from this revison" for both of them. I checked the code and this correctly removed only these commits.
I then committed my local version and deployed the code.
Now I want to to include these commits again but I am unsure how to do this.
Any help would be appreciated.
Thanks!
svn version-control commit revert
Lets say I have 4 commits in my repository
Commit 1
Commit 2
Commit 3
Commit 4
I wanted to deploy a version of the code that did not include 2 and 3 and so I right clicked on these commits and clicked "Revert changes from this revison" for both of them. I checked the code and this correctly removed only these commits.
I then committed my local version and deployed the code.
Now I want to to include these commits again but I am unsure how to do this.
Any help would be appreciated.
Thanks!
svn version-control commit revert
svn version-control commit revert
edited Nov 8 at 11:50
asked Nov 8 at 10:00
semiColon
6613
6613
Did you commit your code after reverting the two revisions?
– royalTS
Nov 8 at 10:03
Yes, I removed the two revisions and then committed.
– semiColon
Nov 8 at 10:17
So you could do the same thing, undo this revision and everything should be fine
– royalTS
Nov 8 at 12:13
Sorry, I failed to mention that after I removed commits 2 & 3, I then made some changes and committed these changes without 2 and 3. Then I deployed that code, and now I want to include 2 and 3 as well as the new changes I made.
– semiColon
Nov 8 at 13:40
I would then take a look at the topic of patches. Maybe you can make a patch from your commits 2 and 3 and apply this one to your current working copy. make.wordpress.org/core/handbook/tutorials/working-with-patches svnbook.red-bean.com/en/1.8/svn.ref.svn.c.patch.html
– royalTS
Nov 8 at 14:30
add a comment |
Did you commit your code after reverting the two revisions?
– royalTS
Nov 8 at 10:03
Yes, I removed the two revisions and then committed.
– semiColon
Nov 8 at 10:17
So you could do the same thing, undo this revision and everything should be fine
– royalTS
Nov 8 at 12:13
Sorry, I failed to mention that after I removed commits 2 & 3, I then made some changes and committed these changes without 2 and 3. Then I deployed that code, and now I want to include 2 and 3 as well as the new changes I made.
– semiColon
Nov 8 at 13:40
I would then take a look at the topic of patches. Maybe you can make a patch from your commits 2 and 3 and apply this one to your current working copy. make.wordpress.org/core/handbook/tutorials/working-with-patches svnbook.red-bean.com/en/1.8/svn.ref.svn.c.patch.html
– royalTS
Nov 8 at 14:30
Did you commit your code after reverting the two revisions?
– royalTS
Nov 8 at 10:03
Did you commit your code after reverting the two revisions?
– royalTS
Nov 8 at 10:03
Yes, I removed the two revisions and then committed.
– semiColon
Nov 8 at 10:17
Yes, I removed the two revisions and then committed.
– semiColon
Nov 8 at 10:17
So you could do the same thing, undo this revision and everything should be fine
– royalTS
Nov 8 at 12:13
So you could do the same thing, undo this revision and everything should be fine
– royalTS
Nov 8 at 12:13
Sorry, I failed to mention that after I removed commits 2 & 3, I then made some changes and committed these changes without 2 and 3. Then I deployed that code, and now I want to include 2 and 3 as well as the new changes I made.
– semiColon
Nov 8 at 13:40
Sorry, I failed to mention that after I removed commits 2 & 3, I then made some changes and committed these changes without 2 and 3. Then I deployed that code, and now I want to include 2 and 3 as well as the new changes I made.
– semiColon
Nov 8 at 13:40
I would then take a look at the topic of patches. Maybe you can make a patch from your commits 2 and 3 and apply this one to your current working copy. make.wordpress.org/core/handbook/tutorials/working-with-patches svnbook.red-bean.com/en/1.8/svn.ref.svn.c.patch.html
– royalTS
Nov 8 at 14:30
I would then take a look at the topic of patches. Maybe you can make a patch from your commits 2 and 3 and apply this one to your current working copy. make.wordpress.org/core/handbook/tutorials/working-with-patches svnbook.red-bean.com/en/1.8/svn.ref.svn.c.patch.html
– royalTS
Nov 8 at 14:30
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53205349%2fsvn-re-include-a-revision%23new-answer', 'question_page');
}
);
Post as a guest
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
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
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
8t13epGFeUF8ktHkarFhrYQrtyncXUn,4WwC o2OcB,0pCSra A3J,vrcr9foA8nmPb0O
Did you commit your code after reverting the two revisions?
– royalTS
Nov 8 at 10:03
Yes, I removed the two revisions and then committed.
– semiColon
Nov 8 at 10:17
So you could do the same thing, undo this revision and everything should be fine
– royalTS
Nov 8 at 12:13
Sorry, I failed to mention that after I removed commits 2 & 3, I then made some changes and committed these changes without 2 and 3. Then I deployed that code, and now I want to include 2 and 3 as well as the new changes I made.
– semiColon
Nov 8 at 13:40
I would then take a look at the topic of patches. Maybe you can make a patch from your commits 2 and 3 and apply this one to your current working copy. make.wordpress.org/core/handbook/tutorials/working-with-patches svnbook.red-bean.com/en/1.8/svn.ref.svn.c.patch.html
– royalTS
Nov 8 at 14:30