Questions tagged [svn-merge]
Questions regarding SVN merge operations.
112
questions
0
votes
1
answer
31
views
Update a merged but not committed svn branch
I have a svn branch, say feature, created from trunk. I am ready to merge my feature branch into trunk, so I did this:
cd trunk/
svn merge <path/to/feature/branch>
After doing this, I am not ...
0
votes
1
answer
109
views
TortoiseSVN moving a branch to trunk
I messed up and did the main development on a branch, the trunk is actually empty in the repository and I'm trying to move the branch to the trunk.
I'm not sure how this is supposed to be done the ...
0
votes
1
answer
161
views
svn merge xml based file
We are facing a problem in the code merge and un-merge, Please advice : Problem statement is below:
We are using SVN as SCM, We have a trunk, from trunk we have created the a Branch B1 for the ...
0
votes
1
answer
615
views
SVN merge with multiple revisions [Not Range]
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 ...
0
votes
1
answer
75
views
SVN Mergeinfo stored on WC or on Server
Kindly clarify my questions. I ask these question because I'd like to understand the reason for 'missing mergeinfo'
1) Is svn:mergeinfo stored on 'SVN Host Server' or on 'Working copy'?
2) If ...
1
vote
0
answers
266
views
svn merge error "must be ancestrally related" even if files were previously merged
Problem description
I have a SVN repository for my scripts.
Recently, I've noticed that most of my scripts have a lot of common fragments of code (i.a. parsing options) so I decided to create a ...
0
votes
1
answer
315
views
SVN merge svn:externals from trunk to branch
We merge changes from time to time from trunk to our current branches. We use SVN 1.7.6 and tried it with SmartSVN and Tortoise SVN.
It does not work to merge the changes made in the svn:externals ...
1
vote
1
answer
26
views
What's the meaning of the two file status after svn merge?
In my trunk working copy, I run svn merge -r 41324:41557 branch_url, and getting the following output:
--- Merging r41325 through r41557 into '.':
U KfClient\ctimclientapp.cpp
U KfClient\util\...
0
votes
1
answer
161
views
svn merge with renamed directory in branch
We have a recent requirement at my workplace wherein we have a baseline Android project (trunk). Other projects will need to (svn) branch out from this baseline Android project and start their own ...
0
votes
1
answer
848
views
How to remove lingering svn:mergeinfo properties on reintegrate?
I wanted to work on a small set of changes independent from my other development on a project. I've been using this as a guide.
I started off by doing a svn cp from /trunk/app/module to /branches/...
0
votes
1
answer
300
views
Problems in Tortoise SVN Merging between Trunk and branch
I am new to Tortoise SVN and i have the following 2 doubts
i)When i checkout Trunk Project from Repository,Head Revision is 181 ,whereas when i checkout ,it says Workingcopy revision as 204(yes it ...
1
vote
0
answers
199
views
TortoiseSVN: Merging two ancestrally unrelated branches
I am trying to merge a branch into the trunk. They have no common ancestor.
The branch was created sometime in the past with a simple Ctrl+C and Ctrl+V of the trunk, a practice which, of course, "...
2
votes
1
answer
2k
views
svn mergeinfo - E195016: "must be ancestrally related"
Although there are several similar questions here (e.g., SVN - Reintegration Merge error: "must be ancestrally related") and on the Web, I wasn't able to figure out why svn mergeinfo <file> ...
0
votes
1
answer
394
views
Subversive: how to manage a conflict on the svn:mergeinfo property?
I'm trying to make a merge operation with Subversive in Eclipse.
I've been able to manage all the conflicts on the files structure, but it remains a conflict on the svn:mergeinfo property.
I've ...
5
votes
3
answers
12k
views
Subversive: svn: E195016: Cannot merge into a working copy with a switched subtree
I have an issue with Eclipse and Subversive.
I'm trying to reintegrate a branch of a project into the trunk.
These are the operations that I'm following:
Switch to the trunk version of the project
...
0
votes
1
answer
1k
views
TortoiseSVN "tree conflict" on file when merging
I have a directory in my trunk (trunk/gray/catalog/web/app_code/), and my branch (branches/125/gray/catalog/web/app_code/). The trunk and branch contain 8 files common to both, but the branch has 20 ...
0
votes
1
answer
161
views
Will a merge always update the revision number of a file?
Lets say that I'm merging a directory from branch-alpha into trunk. There is a new file called phi.txt in branch-alpha that will be merged into trunk. Will the revision of phi.txt change?
1
vote
1
answer
1k
views
Can Subversion record a merge without mergeinfo?
I'm searching through a particularly gnarly set of older revisions in one of our repositories, trying to figure out what happened with a couple of supposed merges.
When I look at one of the revisions ...
0
votes
1
answer
260
views
What's the difference between svn copy and svn merge for creating a branch?
What's the difference between svn copy and svn merge when creating a branch in SVN?
2
votes
0
answers
17
views
Can I make git-svn aware of an SVN merge?
I use git to work on an existing SVN repository, which has now – conceptually – the following history:
A -> B -> C -> D -> E -> F -> G -> H __
\...
0
votes
1
answer
514
views
How to disable the svn-update-automerge for XML files
I have the svn repo with XML files, and I'm not satisfied with svn-update automerge functionality.
After svn update or svn update --accept postpone I've got the corrupted XML like this.
<?xml ...
0
votes
0
answers
55
views
Why i am getting Tree conflict here?
Current project structure in SVN
Trunk > Folder 1> it contains further folders like A, B,C
I have created the branches from Folder 1.
Now i realized Folder 1 is redundant.Basically Structure ...
0
votes
1
answer
191
views
Merge with no conflicts, the code doesn't compile: should I fix it before commit?
I'm working with Subversion 1.7.x, and am doing my development on a branch.
From time to time I merge from trunk to keep the branch up to date.
During the latest merge, though, the incoming code, ...
0
votes
1
answer
50
views
SVN Merge just revision changes only
Assume I have Revision 101, Revision 102, and Revision 103 for Folder A.
I would like to merge Folder A to Folder B with only the changes that where committed in Revision 103 for folder A. I do not ...
0
votes
3
answers
1k
views
svn merge source and target issue
I am using SVN merge (two different trees) to merge trunk to a feature branch.
I am selecting source as trunk and target as featurebranch and doing it from a featurebranch local workspace(golden, ...
-1
votes
1
answer
88
views
Accidentally deleted folder of 3000 files in SVN trunk
we currently are using SVN and a developer accidentally deleted a folder of 3000 files and then added them back in fresh and committed. Then that branch was reintegrated into trunk. So now our SVN ...
4
votes
1
answer
3k
views
SVN Merging and tree conflicts "local add, incoming add upon merge"
I'm trying to follow the release branching model described at http://svnbook.red-bean.com/en/1.7/svn.branchmerge.commonpatterns.html, but on attempting to do the merge I get a merge conflict.
# ...
0
votes
1
answer
554
views
SVN Remote Merging
I currently have a traditional SVN trunk/tags/branches configuration, but only trunk is actually being used.
I'd like to add a release location, so I have trunk/tags/branches/release, which I can ...
0
votes
2
answers
2k
views
How to merge branch back to main branch and avoid tree conflicts - TortoiseSVN
I have source files managed in SVN using TortoiseSVN. I had added files and committed them to a revision, and subsequently decided to branch. I branched with the files I needed, and performed a delete ...
0
votes
0
answers
41
views
How to tell if one commit depends on another commit when merging (svn)?
Say I have the following commits on the two branches:
(trunk) A - B - C
(produ) A
I want to merge the work done in C but not necessarily B.
There is a chance that the code in C never touched any ...
0
votes
1
answer
32
views
Using svn in xcode5
I am working on project and now one more team member will be working with me on different module. Can any one guide me how to use svn while working in a team? I need to do following things :
Create ...
0
votes
0
answers
102
views
Subversion: Can't merge external folder
I have a folder in my subversion repository that point to an external resource.
Updating the folder works fine, but when I try to merge the folder into another folder, I get the following error:
svn: ...
2
votes
0
answers
140
views
TortoiseSVN change automatic merge by extension
I'm looking into creating a tool to diff and merge a file in SVN based on its extension. The files in question are YAML-based, but I don't trust TortoiseSVN to merge them properly, since it has no ...
0
votes
2
answers
241
views
SVN Merge from branch to trunk is not working as expected
In order to do some refactoring I copied the trunk in a new branch. Refactoring included renaming Java Source to src and deleting Web Content folder. But after making desired changes in the branch and ...
5
votes
2
answers
3k
views
SVN 1.8 merge (branch reuse) seems broken when having local mergeinfo
We have a problem with the new 1.8 subversion clients (we use TortoiseSVN 1.8.5 & SlikSVN 1.8.5). It seems that the new SVN 1.8 feature of being able to keep using your feature branch after ...
5
votes
1
answer
9k
views
Tortoise SVN Merge "@### must be ancestrally related to @###" Error
Backstory: Got a job as an entry level web developer. Head developer leaves right when I start. All responsibility on me. Never used SVN. Going in blind.
Problem:
I keep getting errors like
'svn://...
0
votes
1
answer
405
views
How to invoke a batch script (customize merge) , when svn merge is invoked?
When I try to merge the branch back to the trunk, a batch script must be invoked which runs sonar analysis. If the analysis is successful, only then the merge should proceed further, else it must be ...
3
votes
2
answers
9k
views
SVN Merge - Completely "theirs full" - Branch to trunk
I want to merge my branch to trunk and basically want to over-write all the code in branch to the trunk..While receiving conflicts I kept doing "theirs full" for all the conflict; but still at the end ...
0
votes
0
answers
256
views
SVN merging issue
I have a issue. I am trying to merge a branch back to trunk.The branch has never been merged to trunk.The branch has been renamed couple of times. Now when i merge it stops at a specific revision ...
2
votes
3
answers
348
views
Best practice to merge / not merge svn tags
I have create a tag named v1.5 off a branch. After some testing I found some bugs and it seems I have to propagate these changes to tag/v1.5. But I see some comments that do not suggest such practice ...
1
vote
1
answer
457
views
SVN - Commit doesn't recognize files inside new folder
Environment:
OS: Linux Mint 14
SVN: 1.8.3
This issue occurs under command line and subclipse plugin.
I create a new java package under an existing project, and adding many classes in this package. ...
0
votes
0
answers
75
views
Merge developement branch with other branch in tortoise SVN
I am using tortoise SVN and I am working on a separate branch other than development branch. My work on that branch might last more than 2 weeks or so till than if development branch is updated my ...
0
votes
0
answers
316
views
Interesting "evil-twin" svn merge
Today I encountered a really interesting problem while trying to do a what seemed a simple enough merge.
Suppose we have two branches, B1 and B2, where B2 was branched from B1 at some time T1.
On ...
0
votes
1
answer
126
views
svn:mergeinfo is not being cherry-picked properly between branches
I created a ^sandbox/feature-branch from ^trunk as a staging area to do a proof of concept.
But I don't want to reintegrate merge the feature branch back into ^trunk because of the sandbox in its ...
0
votes
1
answer
1k
views
How are the sub folder's mergeinfo used when merging at top folder level?
As we know, TortoiseSVN creates svn:mergeinfo as a folder property if the merge is performed at that folder level. This could be a top folder (such as trunk) or some sub folder. I always thought that ...
0
votes
1
answer
22
views
How to merge from trunk to branch ignoring all private changes
Trunk svn url: http://svn.myserver.com/trunk/project1
Private branch created from above branch: http://svn.myserver.com/trunk/project1_myprivate
Now after some merging from trunk to private and ...
5
votes
2
answers
10k
views
Undo an undesired merge in SVN
We have a repository running SVN. At some moment, to add a feature (lets call it 'branch'), we created a development branch from the main trunk (let's call it 'trunk').
We kept doing our work and ...
0
votes
1
answer
146
views
SVN: how to make sure I synced the trunk to a branch correctly
I am using SVN and creating branches for each "meety" feature that I am adding to our website.
On a regular basis, I sync the trunk to my branch using this command (from my branch's working directory)...
0
votes
1
answer
92
views
SVN tree conflict issue
I am getting the tree conflict message as mentioned below -
514 (dev) dev:/export/home/user> svn status
M .
! C ABC_NY
> local delete, incoming edit upon merge
Summary of ...
1
vote
1
answer
744
views
Merging svn externals causes lots of problems
I created a branch from the trunk and worked on the branch. I then merged changes from the trunk to the branch and then merged from branch back to trunk. All this worked as it always does. The ...