merge

Git: restore diverged repository after failed rebase

I ran a git pull --rebase, and aborted this after fixing several merge-conflicts using git rebase --abort. Before the attempted rebase, git status told me: "Your branch is ahead of 'origin/master' by 20 commits." Now I get: "Your branch and 'origin/master' have diverged, and have 15 and 5 different commit(s) each, respectively." I have...

Array merge in ASP classic

I'm working on an array_merge function for ASP classic. What I have seems to be working, until one (or both) params are empty or not arrays. Here's what I have so far: function array_merge(left, right) dim total_size dim i dim merged ' Convert "left" to an array if not isArray(left) then left = Array(left) end if ' C...

Firefox plugin for a web developer that shows all resources (js, css, html) as a single unified file?

I'm developing with a really complex cms system, and sometimes I need to know if something was sent to my html rendering. Since this is a huge cms system, I have at least 30 resources linked to a page (js, css), and going through each one, clicking and searching for a string is not the best way to do it. I would like to have a plugin t...

Excel merge columns

Hi all I want to merge to columns in excel 2003. For example: Col1 Col2 ------------ 1 5 3 4 4 6 7 6 The merged column should look like this: Col3 ---- 1 3 4 4 5 6 6 7 Thanks!! ...

Excel Macro - combine Multiple Columns Into One

Hello there! I have an excel 2007 worksheet with 12 columns (each column is corresponding to a month) and every column includes +/-30000 rows of daily rainfall data. What I need to do is combine these columns of data into one new column (one continuous rainfall series) as follows: Copy the first 31 (the number of days of January) rows...

Abort a merge in mercurial

I goofed up a merge. I'd like to revert then try again. Is there a way to revert a merge before it is commited. hg revert doesn't do what I'd like, it only reverts the text of the files. Mercurial aborts my second attempt at merging and complains original merge is still uncommited. Is there a way to undo a merge after an hg merge com...

Merging two git repositories as different versions

I have two git repositories, like this: proj1 proj2 proj1 has a tag v1.0.0 and proj2 has tags v2.0.0 and v2.1.0. Now I would like to merge proj1 (the v1.0.0 tag in particular) into proj2 as if it was an earlier version of proj2, so that I have the tags v1.0.0, v2.0.0 and v2.1.0. I'm also fine if I have to merge proj2 into proj1 or me...

svn: merging while maintaining variants between branches

Is there a way to tell SVN when it is merging, that one or more files are special and should not be merged? I am dealing with a couple of build trees which need different unique IDs to distinguish them, and every time we re-merge files, it is a pain to maintain those IDs. ...

How to use visual merging tools?

I can't get my head around KDiff3 or Beyond Compare in the merge mode. Is there any tutorial to this feature? ...

Merge two mp3 php

Hello, Do you know a class to merge two mp3 in php ? I've found nothing serious on google. Thank you ! ...

A little git trouble

Hello, I'm using git with my friend. I did a few commits and my friend didn't update his local repo and pushed with -f arugment: git push -f origin master Now in the git server (github) my commits are destroyed and the latest commit is my friends. But I have a history of commits locally. Can I somehow merge them back to the master? Or...

How to merge multiple excel files?

The whole idea is the following, I get monthly reports in excel files about large number of companies with couple of columns of data such as their closing share price for month, rating, p/e, and maybe one more column. Each company is sorted by a unique company ID, but from month to month the reports will contain about 70% records of same...

How to merge two seperate - yet similar - codebases into one SVN rep?

Hi guys, I have /var/www/cool_codebase on www.example.com AND I have /var/www/cool_codebase on www.example.net The codebases are for the same web app running on different servers. There is some specialisation between the codebases (client-specific bits and bobs etc) - but not too much. One codebase has files that the other doesn't an...

gitting from branch to production

I have a production server from some hosting company, so I can't put a git repository there. I want to check the differences between my latest version in code to the prod server sources(its a php site). I think that someone changed stuff at prod without update it in git. how can I check this stuff? And maybe merge the changes or someth...

Merge of 2 active record arrays very slow?

I have 2 sets of data as following: default_products - A set of active record objects retrieved from memcached owned_products - A set of active record objects retrieved from the database Retrieving the data is fast and i get around 30-40 req/s when just returning either one of the arrays yet as soon as i do the following to return both...

Deep combine NSDictionaries

I need to merge two NSDictionarys into one provided that if there are dictionaries within the dictionaries, they are also merged. More or less like jQuery's extend function. ...

Mercurial, conflict, merging, further conflicts later on, does Mercurial remember initial resolution?

Imagine this scenario: Alice and Bob both clones a central master Mercurial repository, containing 1 text file Both Alice and Bob makes a change to the same line in the file, and commits Bob pushes back to the central repository, but not Alice Alice now pulls into her repository, notices she now has two heads, and merges Since the merg...

How to avoid tree conflicts when merging branches that were moved?

I have a repository that looks like this: /a/trunk/Library /a/branches/FeatureX/Library /b/trunk/Application /b/branches/FeatureX/Application I want to rearrange this so that I have the Application and Library folders next to each other: /a/trunk/Library /a/trunk/Application /a/branches/FeatureX/Library /a/branches/FeatureX/Applicati...

What are A, B, and C in KDIFF merge

Why am I given three choices when merging between my code and someone else's? Shouldn't there just be my code, the other person's code, and the output below? The documentation for KDIFF doesn't help me understand. ...

Need advise organizing an SVN repository

I've been working on a one-person project for a while and I'm using an online-hosted SVN repository as source control. Now, we are hiring a few offshore developers to help me on the project. My concern is - I don't want them to start checking code in to my repository at least while they are learning. I'd rather have them check it in to s...