merge

Subversion: what does "Target path does not exist" when merging mean?

Using subversion 1.5 I have branch B which was branched off of branch A. After doing work in both branches I go to merge changes from A into B (using svn merge http://path/to/A in the working directory of B) and get svn: Target path does not exist. What does this mean? ...

Tools for SVN Merging

SVN merging is very time consuming (especially on large code bases) and error prone. Eclipse and Netbeans plugins don't serve me very well. At the moment I'm using a combination of manual "svn merge" and the graphical diff Meld. Are there better alternatives (non-win32)? ...

I cannot commit changes after merge in SVN

Hello, I had a problem with committing changes after merging two branches of my project using TortoiseSVN. Here are details: I did a merge branch to trunk of project which I am working on. Project includes main repository and libraries joint to main repository as svn external (libraries are also branched) as subdirectory of project....

The morning after a TFS Baseless Merge

My understanding of a baseless merge in TFS was that it was a one-time deal, and merges afterwards could be made without having to be baseless: from http://msdn.microsoft.com/en-us/library/bd6dxhfy(VS.80).aspx /baseless - Performs a merge without a basis version. That is, allows the user to merge files and folders that do not have a...

How do I transfer data from one database to another using a DataSet?

As usual, some background information first: Database A (Access database) - Holds a table that has information I need from only two columns. The information from these two columns is needed for an application that will be used by people that cannot access database A. Database B (Access database) - Holds a table that contains only two c...

Which merge tool should I use with Mercurial in Windows?

Hi, I'm just starting with Mercurial and one of the things that I should do is select a merge tool. I was thinking to use WinMerge for that purpose, but I can't find the way to select this in particular. There are references for all the other merge tools around, but not for WinMerge. So, should I use WinMerge or there's a better tool f...

Oracle: how to UPSERT (update or insert into a table?)

The UPSERT operation either updates or inserts a row in a table, depending if the table already has a row that matches the data: if table t has a row exists that has key X: update t set mystuff... where mykey=X else insert into t mystuff... Since Oracle doesn't have a specific UPSERT statement, what's the best way to do this? ...

Tortoise SVN marks files as different between branches but no differences exist

So my project has a trunk where we make all development changes to. We also have a branch with slightly modified parameters to accommodate another department. We work in batches, and once we are done with a set of changes to the trunk, switch over to the branch and merge all appropriate revisions. This has been going on a while but I hav...

How do I merge two python iterators?

I have two iterators, a list and an itertools.count object (i.e. an infinite value generator). I would like to merge these two into a resulting iterator that will alternate yield values between the two: >>> import itertools >>> c = itertools.count(1) >>> items = ['foo', 'bar'] >>> merged = imerge(items, c) # the mythical "imerge" >>> m...

Oracle single-table constant merge with CLOB using JDBC

As a follow-up to this question, I need help with the following scenario: In Oracle, given a simple data table: create table data ( id VARCHAR2(255), key VARCHAR2(255), value CLOB); I am using the following merge command: merge into data using ( select ? id, ? key, ? value fr...

Backing Out a backwards merge on Mercurial

How do you reverse the effect of a merge on polarised branches without dying of agony? This problem has been plaguing me for months and I have finally given up. You have 1 Repository, with 2 Named Branches. A and B. Changes that occur to A will inevitably occur on B. Changes that occur directly on B MUST NEVER occur on A. In s...

git: how to merge commits from a remote to a different path?

I have a git repository with remote foo. foo is a web app, is contains some files and dirs directly in its root: Rakefile app ... public script My main git repository is a larger system which comprises this web app. I want to pull the commits from foo, but I need the files to reside inside the web dir. So they should become web/app, ...

Is there a GZIP merger that merges two GZIP files without decompressing them?

Let's say there's a.gz, and b.gz. $ gzip_merge a.gz b.gz -output c.gz I'd like to have this program. Of course, $ cat a.gz b.gz > c.gz doesn't work. Because the final DEFLATE block of a.gz has BFINAL, and the GZIP header of b.gz. (Refer to RFC1951, RFC1952) But if you unset BFINAL, throw away the second GZIP header and walk through t...

Tool to merge MS Word files

I have huge number of Word files I need to merge (join) into one file, and will be time consuming to use the Word merger (one by one). Have you experienced any tool that can handle this job? ...

Can you include a document, whose location is stored in the data souce, in a Word mail merge.

I have a MS SQL database that is a datasource for a MS Word mail merge. One of the fields contains a file name, each record being different. The actual file is stored in a directory on a web site. Is it possible to insert the referenced document at each pass during the merge? ...

What's the difference between git pull and git fetch?

What's the difference between git pull and git fetch? ...

Merging dictionaries in C#

What's the best way to merge 2 or more dictionaries (Dictionary<T1,T2>) in C#? (3.0 features like LINQ are fine). I'm thinking of a method signature along the lines of: public static Dictionary<TKey,TValue> Merge<TKey,TValue>(Dictionary<TKey,TValue>[] dictionaries); or public static Dictionary<TKey,TValue> ...

Mail merge in C# with n copies

I just want to create a C# program which will read a word template and create n number of copies of it with mail merge feature.The data to replace is Name and Address the rest of the things in the template should remains the same. Can any one tell me how to do this ? ...

Using TortoiseSVN how do I merge changes from the trunk to a branch and vice versa?

I've been reading up on branching/merging with Subversion 1.5 using the excellent and free Version Control with Subversion book. I think that I understand how to use the Subversion command line client to perform the actions that I need most often, which are: Update Branch with Changes from Trunk From the branch's working directory run...

How do I copy a version of a single file from one git branch to another?

I've got two branches that are fully merged together. However, after the merge is done, I realise that one file has been messed up by the merge (someone else did an auto-format, gah), and it would just be easier to change to the new version in the other branch, and then re-insert my one line change after bringing it over into my branch....