merge

Does SVN support merging into sparse checkouts?

I'm trying to merge a branch into a sparse checkout (all the files I touched in the branch are included in the checkout) and I'm getting the following error: Cannot reintegrate into a working copy not entirely at infinite depth Does this mean what I think it means? That you have to have a fully recursive checkout in order to merge ...

DVCS (or rather, any non-exclusive checkout VCS) and Windows Forms? Merge problems?

Does anyone have any experience with this? For instance, consider Subversion, Git, or Mercurial, and a typical Windows Forms form. Whenever someone edits the form, for instance repositions a panel to have a different parent, sometimes the form designer code generator rearranges more code than just that panel. Does anyone have any expe...

SVN - Does a merge preserve the author so that blame will be correct?

In my team, some we help each other with the merges. I.e. my code is merged back to trunk by someone else. It seems like the author info not is fully preserved during a merge. When I do annotate (blame) the merger is shown as the author. Have the merger done something wrong or isn’t the original author preserved in a merge? ...

Merge a section NameValueSectionHandler of two .config files (C#)

I need merge a section of type NameValueSectionHandler from two .config files (Main.config and Secundary.config in sample). The Main.config has another sections like appsetings and others. Main.config: <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="ParserSQL.Reglas" type="System.Configura...

How to block a changeset from merging in TFS?

In TFS 2010, how can one mark a changeset so that it cannot be merged from one branch to another? For example, so it doesn't show in the "merge wizard" in Visual Studio when using the "Selected changesets" option. Basically, I want it to look like the changeset in question has already been merged into another branch. Our build process...

Mercurial: how to merge changes to a file that's renamed in the other branch?

I have a Mercurial repository with four branches in it. One is the "common" branch, the other three are "specific" branches which consist of some cosmetic changes applied to the common branch. One of those cosmetic changes consisted of renaming some files. So the common branch has "file.txt", and the first specific branch has "file-01.t...

Merge multiple doc or rtf files into a single doc or rtf file by using php script

Hi all, I would like to merge multiple doc or rtf files into a single file which should be the same format of multiple files. What I mean is that if a user selects multiple rtf template files from a list box and clicks on a button on web page, the output should be a single rtf file which combines multiple rtf template files, I should us...

How to copy an old revision from another subversion branch to the head revision on trunk?

I have a repository where I have branched and merged back in some changes in to trunk. However I need to now revert trunk back to a revision on my branch. I imagine the solution is to use svn merge however I have not succesfully been able to use this accross branches. Any suggestions would be very useful. ...

how to merge 2 List<T> with removing duplicate values in C#

I have two lists List that i need to combine and removing duplicate values of both lists A bit hard to explain, so let me show an example of what the code looks like, and what i want as a result, in sample I use int type not ResultadoDeAnalisisFicheroSql class. first_list = [1, 12, 12, 5] second_list = [12, 5, 7, 9, 1] The result of ...

Is it possible to Merge trunk and branch without pulling the source using Tortoise SVN?

I have recent source in branch containing some features. I want to merge them to the trunk source. 1) I cannot pull the source locally. Because, I have to merge nearly for 30+ sources in different different locations. 2) I cannot delete the trunk source location and move the branch sources using the Copy To option. So, I just want to m...

Create a panel from two data frames

I have two data frames -- one with stock closing prices arranged by date (rows) and ticker symbol (columns): > head(data.stocks) date A AAPL ABAT AB ABV 1 2010-10-04 32.59 278.64 3.65 26.42 125.89 2 2010-10-05 33.04 288.94 3.66 27.10 129.05 3 2010-10-06 32.67 289.19 3.59 26.99 129.90 4 2010-10-07 33.20 289.22 3.66 27...

Merging a branch on a not updated master

Hi to all, Issue I merged a branch in a master not updated at last commit. What I do I merged a branch in master git merged BRANCHNAME Conflicts Automatic merge failed; fix conflicts and then commit the result. git commit -a -m "Resolved conflicts while merging email-fix branch" Then I tried to push all to origin master, but i...

Merging two xml files in C# without appending and without deleting anything (example given)

So say I have one xml file such as this: <shapes> <shape>shape1</shape> </shapes> And another xml file like this: <parentNode> <shapes> <shape>shape 2</shape> </shapes> </parentnode> I would like the output to be: <parentNode> <shapes> <shape>shape1</shape> <shape>shape 2</shape> </shape...

Merge/Combine two pdf using windows console

Hi, I'm searching for a Method to combine two (or more) PDFs to a new one. This i have to do with the comman-line in windows. I haven't found a simple programm that can do this. Has anyone an idea for a programm that can do this? Best Regards ...

Git: How to merge local branch with remote tracking automatically without fetching

Imagine, I have several branches: master, a, b, c ... Now I'm in master branch and "git pull". This fetches all changes from remote server into origin/master, origin/a, origin/b ... branches and merges CURRENT branch (master) with origin/master. But then I want to switch to A branch and again merge these remote changes from remote track...

how to merge 2 deep hashes in perl

I write a sub in Perl to merge 2 hashes of the same structure; so that merge($a,$b) $a = { k1 => { sk1 => 'v1' }, k2 => { sk3 => 'v3', sk4 => 'v4' } }; $b = { k1 => { sk2 => 'v2'}, k3 => { sk5 => 'v5'} }; would result in $c = { k1 => { sk1 => 'v1', sk2 => 'v2' }, k2 => { sk3 => 'v3', sk4 => 'v4' } k3 => { sk5 => 'v5'} }; B...

Is there a way to keep two branches from merging in git

I would like to be able to keep two separate branches in a git repo that cannot accidentally be merged even though the branches may contain similar content. Is there a trick for forcing a branch to remain separate in git? That is assuming I have branch A and branch B, something like git merge B //assuming A is checked out would fail. ...

How to programmatically merge text files with potential conflicts (ala git or svn, etc)?

As part of a larger project, I want the ability to take two bodies of text and hand them to a merge algorithm which returns either an auto-merged result (in cases where the changes are not conflicting) or throws an error and (potentially) produces a single text document with the conflicting changes highlighted. Basically, I just want a ...