How can I find a copy of a deleted branch given a RevisionHow to “undelete” a deleted folder in Subversion / TortoiseSVN?Need to restore a deleted branch in SubversionHow do I create a branch?How to create a branch of an old revision with TortoiseSVN?How to checkout a specific Subversion revision from the command line?How to “undelete” a deleted folder in Subversion / TortoiseSVN?How do I get the original revision for a branch in SVN?Is it possible to compare my working copy with an arbitrary revision?How do you find the revision of a branch prior to a ‘svn copy trunk branch’ so I can revert the copyHow to SVN merge branch1 to branch2 ? svn merge url1 url2 displays many changes, svn merge working copy does nothing?How can I determine the trunk-revision used to create a branch with SharpSvn?Merging Two branches after Renaming the root folder
How are "soeben" and "eben" different from one another?
Variation in the spelling of word-final M
Mistakenly modified `/bin/sh'
Why does the trade federation become so alarmed upon learning the ambassadors are Jedi Knights?
Teferi's Time Twist on creature with +1/+1 counter
Won 50K! Now what should I do with it
Connect neutrals together in 3-gang box (load side) with 3x 3-way switches?
Does optical correction give a more aesthetic look to the SBI logo?
Spider-Man: Far From Home - Why do they take a detour to Dorset?
Is `curl something | sudo bash -` a reasonably safe installation method?
How to draw a gif with expanding circles that reveal lines connecting a non-centered point to the expanding circle using Tikz
I gave my characters names that are exactly like another book. Is it a problem?
Do native speakers use ZVE or CPU?
How long do Apple retain notifications to be pushed to iOS devices until they expire?
how to generate correct single and double quotes in tex
Filtering fine silt/mud from water (not necessarily bacteria etc.)
What is the closed form of the following recursive function?
Postgresql numeric and decimal is automatically rounding off
Why is "dark" an adverb in this sentence?
Use of "sit" instead of "est" in Virgil
Why does linear regression use "vertical" distance to the best-fit-line, instead of actual distance?
Are villager price increases due to killing them temporary?
Krazy language in Krazy Kat, 25 July 1936
Why does the Earth have a z-component at the start of the J2000 epoch?
How can I find a copy of a deleted branch given a Revision
How to “undelete” a deleted folder in Subversion / TortoiseSVN?Need to restore a deleted branch in SubversionHow do I create a branch?How to create a branch of an old revision with TortoiseSVN?How to checkout a specific Subversion revision from the command line?How to “undelete” a deleted folder in Subversion / TortoiseSVN?How do I get the original revision for a branch in SVN?Is it possible to compare my working copy with an arbitrary revision?How do you find the revision of a branch prior to a ‘svn copy trunk branch’ so I can revert the copyHow to SVN merge branch1 to branch2 ? svn merge url1 url2 displays many changes, svn merge working copy does nothing?How can I determine the trunk-revision used to create a branch with SharpSvn?Merging Two branches after Renaming the root folder
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have a branch:
http://myrepo/Branch1
This branch has 10 revisions: 1-10.
The branch is then copied to the following location:
http://myrepo/Branch2
Branch1 is then deleted.
From the 'Show log' dialog of Branch2 it's easy to see all of the Branch1 revisions (By ensuring that 'Stop on copy/rename' is unticked).
However, if I am given a revision such as 5, what's the best way to find a copy of the deleted branch? (In this case Branch2).
svn tortoisesvn
add a comment |
I have a branch:
http://myrepo/Branch1
This branch has 10 revisions: 1-10.
The branch is then copied to the following location:
http://myrepo/Branch2
Branch1 is then deleted.
From the 'Show log' dialog of Branch2 it's easy to see all of the Branch1 revisions (By ensuring that 'Stop on copy/rename' is unticked).
However, if I am given a revision such as 5, what's the best way to find a copy of the deleted branch? (In this case Branch2).
svn tortoisesvn
can you try checking out the branch providing full path and revision?
– eftshift0
Mar 26 at 16:41
add a comment |
I have a branch:
http://myrepo/Branch1
This branch has 10 revisions: 1-10.
The branch is then copied to the following location:
http://myrepo/Branch2
Branch1 is then deleted.
From the 'Show log' dialog of Branch2 it's easy to see all of the Branch1 revisions (By ensuring that 'Stop on copy/rename' is unticked).
However, if I am given a revision such as 5, what's the best way to find a copy of the deleted branch? (In this case Branch2).
svn tortoisesvn
I have a branch:
http://myrepo/Branch1
This branch has 10 revisions: 1-10.
The branch is then copied to the following location:
http://myrepo/Branch2
Branch1 is then deleted.
From the 'Show log' dialog of Branch2 it's easy to see all of the Branch1 revisions (By ensuring that 'Stop on copy/rename' is unticked).
However, if I am given a revision such as 5, what's the best way to find a copy of the deleted branch? (In this case Branch2).
svn tortoisesvn
svn tortoisesvn
edited Mar 26 at 12:36
user1855085
asked Mar 26 at 6:25
user1855085user1855085
1491 gold badge3 silver badges10 bronze badges
1491 gold badge3 silver badges10 bronze badges
can you try checking out the branch providing full path and revision?
– eftshift0
Mar 26 at 16:41
add a comment |
can you try checking out the branch providing full path and revision?
– eftshift0
Mar 26 at 16:41
can you try checking out the branch providing full path and revision?
– eftshift0
Mar 26 at 16:41
can you try checking out the branch providing full path and revision?
– eftshift0
Mar 26 at 16:41
add a comment |
2 Answers
2
active
oldest
votes
It appears you are asking essentially about what Subversion developers would refer to as "forward history searching": given a particular path and revision, locate copies made of that path in younger revisions. One practical use of this functionality is, "Hey, I know that version 1412 of ^/trunk/lib/foo.c had a major bug in it -- which of our software's various release branches and tags need to receive a fix for that bug?"
From a core technology perspective, this is challenging because Subversion only internally tracks history in the reverse direction -- for each "node", it knows its ancestors. But successors aren't tracked.
Your reference to "unticking" the "Stop on copy/rename" option leads me to believe that you're using a graphical Subversion UI such as TortoiseSVN. I'm not deeply familiar with that UI, but I have this (ancient) memory that it maintains a local cache of repository history. It's feasible that such a cache could better answer questions of "forward history searching" than Subversion's core APIs and command-line client could, but of course, the TortoiseSVN developers would have to make a conscious decision to expose that functionality.
Short of such a thing, you'd need to find or build tooling that takes, say, the output of svn log -vq
on the root of the repository, tracks all copies back through time—building a sort of historical tree for each path—and then allows you to locate a given point on the tree and walk forward in revision time through its various forks and dead-ends while reporting what it finds.
Unfortunately, I know of no such tooling.
add a comment |
You should be able to use
svn co http://myrepo/Branch1@5
See also How to "undelete" a deleted folder in Subversion / TortoiseSVN? or Need to restore a deleted branch in Subversion.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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%2f55350973%2fhow-can-i-find-a-copy-of-a-deleted-branch-given-a-revision%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
It appears you are asking essentially about what Subversion developers would refer to as "forward history searching": given a particular path and revision, locate copies made of that path in younger revisions. One practical use of this functionality is, "Hey, I know that version 1412 of ^/trunk/lib/foo.c had a major bug in it -- which of our software's various release branches and tags need to receive a fix for that bug?"
From a core technology perspective, this is challenging because Subversion only internally tracks history in the reverse direction -- for each "node", it knows its ancestors. But successors aren't tracked.
Your reference to "unticking" the "Stop on copy/rename" option leads me to believe that you're using a graphical Subversion UI such as TortoiseSVN. I'm not deeply familiar with that UI, but I have this (ancient) memory that it maintains a local cache of repository history. It's feasible that such a cache could better answer questions of "forward history searching" than Subversion's core APIs and command-line client could, but of course, the TortoiseSVN developers would have to make a conscious decision to expose that functionality.
Short of such a thing, you'd need to find or build tooling that takes, say, the output of svn log -vq
on the root of the repository, tracks all copies back through time—building a sort of historical tree for each path—and then allows you to locate a given point on the tree and walk forward in revision time through its various forks and dead-ends while reporting what it finds.
Unfortunately, I know of no such tooling.
add a comment |
It appears you are asking essentially about what Subversion developers would refer to as "forward history searching": given a particular path and revision, locate copies made of that path in younger revisions. One practical use of this functionality is, "Hey, I know that version 1412 of ^/trunk/lib/foo.c had a major bug in it -- which of our software's various release branches and tags need to receive a fix for that bug?"
From a core technology perspective, this is challenging because Subversion only internally tracks history in the reverse direction -- for each "node", it knows its ancestors. But successors aren't tracked.
Your reference to "unticking" the "Stop on copy/rename" option leads me to believe that you're using a graphical Subversion UI such as TortoiseSVN. I'm not deeply familiar with that UI, but I have this (ancient) memory that it maintains a local cache of repository history. It's feasible that such a cache could better answer questions of "forward history searching" than Subversion's core APIs and command-line client could, but of course, the TortoiseSVN developers would have to make a conscious decision to expose that functionality.
Short of such a thing, you'd need to find or build tooling that takes, say, the output of svn log -vq
on the root of the repository, tracks all copies back through time—building a sort of historical tree for each path—and then allows you to locate a given point on the tree and walk forward in revision time through its various forks and dead-ends while reporting what it finds.
Unfortunately, I know of no such tooling.
add a comment |
It appears you are asking essentially about what Subversion developers would refer to as "forward history searching": given a particular path and revision, locate copies made of that path in younger revisions. One practical use of this functionality is, "Hey, I know that version 1412 of ^/trunk/lib/foo.c had a major bug in it -- which of our software's various release branches and tags need to receive a fix for that bug?"
From a core technology perspective, this is challenging because Subversion only internally tracks history in the reverse direction -- for each "node", it knows its ancestors. But successors aren't tracked.
Your reference to "unticking" the "Stop on copy/rename" option leads me to believe that you're using a graphical Subversion UI such as TortoiseSVN. I'm not deeply familiar with that UI, but I have this (ancient) memory that it maintains a local cache of repository history. It's feasible that such a cache could better answer questions of "forward history searching" than Subversion's core APIs and command-line client could, but of course, the TortoiseSVN developers would have to make a conscious decision to expose that functionality.
Short of such a thing, you'd need to find or build tooling that takes, say, the output of svn log -vq
on the root of the repository, tracks all copies back through time—building a sort of historical tree for each path—and then allows you to locate a given point on the tree and walk forward in revision time through its various forks and dead-ends while reporting what it finds.
Unfortunately, I know of no such tooling.
It appears you are asking essentially about what Subversion developers would refer to as "forward history searching": given a particular path and revision, locate copies made of that path in younger revisions. One practical use of this functionality is, "Hey, I know that version 1412 of ^/trunk/lib/foo.c had a major bug in it -- which of our software's various release branches and tags need to receive a fix for that bug?"
From a core technology perspective, this is challenging because Subversion only internally tracks history in the reverse direction -- for each "node", it knows its ancestors. But successors aren't tracked.
Your reference to "unticking" the "Stop on copy/rename" option leads me to believe that you're using a graphical Subversion UI such as TortoiseSVN. I'm not deeply familiar with that UI, but I have this (ancient) memory that it maintains a local cache of repository history. It's feasible that such a cache could better answer questions of "forward history searching" than Subversion's core APIs and command-line client could, but of course, the TortoiseSVN developers would have to make a conscious decision to expose that functionality.
Short of such a thing, you'd need to find or build tooling that takes, say, the output of svn log -vq
on the root of the repository, tracks all copies back through time—building a sort of historical tree for each path—and then allows you to locate a given point on the tree and walk forward in revision time through its various forks and dead-ends while reporting what it finds.
Unfortunately, I know of no such tooling.
answered Mar 28 at 15:04
C. Michael PilatoC. Michael Pilato
1364 bronze badges
1364 bronze badges
add a comment |
add a comment |
You should be able to use
svn co http://myrepo/Branch1@5
See also How to "undelete" a deleted folder in Subversion / TortoiseSVN? or Need to restore a deleted branch in Subversion.
add a comment |
You should be able to use
svn co http://myrepo/Branch1@5
See also How to "undelete" a deleted folder in Subversion / TortoiseSVN? or Need to restore a deleted branch in Subversion.
add a comment |
You should be able to use
svn co http://myrepo/Branch1@5
See also How to "undelete" a deleted folder in Subversion / TortoiseSVN? or Need to restore a deleted branch in Subversion.
You should be able to use
svn co http://myrepo/Branch1@5
See also How to "undelete" a deleted folder in Subversion / TortoiseSVN? or Need to restore a deleted branch in Subversion.
answered Mar 26 at 19:39
KeldornKeldorn
6715 silver badges16 bronze badges
6715 silver badges16 bronze badges
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.
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%2f55350973%2fhow-can-i-find-a-copy-of-a-deleted-branch-given-a-revision%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
can you try checking out the branch providing full path and revision?
– eftshift0
Mar 26 at 16:41