Question

I created a branch from specific revision (For example, revision 10) of source branch using TortoiseSVN. After creating the branch, the revision number 10 is missing from the source branch. Please help.

Does branching affect the source copy in any way? How can I make sure that my source branch is unaffected by creation of this new branch?

Was it helpful?

Solution

Branching never affects the branch source in any way. There is nothing you can do while branching to in any way affect the branch source.

As far as a revision being missing: nope, it isn't missing.

Every revision in your repository contains every single file and directory on every single branch. If revision 10 exists, and a branch was created prior to revision 10, then there is a revision 10 for that branch.

In your case, there were probably no changes in revision 10 on the source branch. Since there were no changes, there is no reason to show that revision in the log.

In SVN, revisions contain branches (and files and directories), not the other way around. So you can think of it as "branch X as it existed in revision 10" rather than "revision 10 of branch X". The former is always correct. The latter is sometimes a useful simplification but in your situation can cause confusion.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top