diff

postgres diff tool [closed]

岁酱吖の 提交于 2019-12-04 09:58:29
Can anyone recommend a good UI driven diff tool (schema and data) for comparing Postgres databases? Preferable something that runs on Windows as well. Thanks. Take a look at the relevant section of the Postgres' "Software Catalogue" and also search the projects in pgFoundry. 来源: https://stackoverflow.com/questions/4405135/postgres-diff-tool

Easiest Way To Diff Two Table Schemas In SQL Server 2008?

非 Y 不嫁゛ 提交于 2019-12-04 09:56:04
问题 I have to do checks between a development and release database and do this manually, which is both slow and not 100% reliable (I only visually inspect the tables). Is there a quick and easy way to compare table schemas automatically? Maybe even a feature that does this built right into SQL server? Edit: I'm comparing structure only, thank you for pointing this out. 回答1: I'm a fan of SQL DBDiff, which is an open source tool you can use to compare tables, views, functions, users, etc. of two

git diff to ignore patterns in files

我们两清 提交于 2019-12-04 08:59:45
I have a problem with git diff. Let me first fill you in on the history. I have just been given a rather unpopular project from a customer. The problem is that they have 2 branches in their scm. These two branches have not been merged for ages, nut now they have to merge them. Most of the changes are trivial, so merging via git only takes about 30 minutes. How ever, my customer do not trust that a merge process can be automated. Therefore they want to review the merge, by having a diff list with differences between all 4 version of the code in play (base and version a, base and version b, a

Text diff visualization control for WinForms or WPF

情到浓时终转凉″ 提交于 2019-12-04 08:32:09
问题 In continuation of the my previous question, are the any good controls for text diffs visualization? Something like StackOverflow's revision diff viewer but for WinForms or WPF Requirements: free, preferably open-source based on WPF or WinForms No apps please, only components. I'm not interested in OSS diff tools 回答1: There is (as part of GitSharp) an open source diff engine in c# with a very easy to use API and (as part of GitSharp.Demo) a WPF diff viewer. The code should not be too

Showing commits made directly to a branch, ignoring merges in Git

给你一囗甜甜゛ 提交于 2019-12-04 07:30:43
问题 When using git, is there a way to show commits made to a branch, while ignoring all commits that were brought in by merging? I'm trying to review the code changes made on a branch while ignoring the ones we made on other branches that were merged in. I know it's damn near impossible to show a diff in that fashion, but I'd like to be able to find out which commits I need to review. 回答1: --no-merges Both parents have equal weight in many contexts in git. If you've always been consistent in

How to get diff between all files inside 2 folders that are on the web?

别等时光非礼了梦想. 提交于 2019-12-04 07:25:48
问题 So I want to compare this folder http://cloudobserver.googlecode.com/svn/branches/v0.4/Boost.Extension.Tutorial/libs/boost/extension/ with this http://svn.boost.org/svn/boost/sandbox/boost/extension/ . I want to get a diff file as a result. These folders are under svn control but I'd prefer git styled diff file (like one shown here) I tried git diff but it seems not to work that way for web folders. So how to do the same thing with one command on Linux? Update: So we had a great answer. But

Comparing the contents of two files in Sublime Text

空扰寡人 提交于 2019-12-04 07:18:38
问题 I have two cloned repositories of two very similar open-source projects, which I have been working on in different instances in Sublime Text 2 to arrive at my desired result. Code from both of these projects was used. I have been using Git as version control for my project, but have not included the original projects. Thus, I would like to be able to quickly compare the contents of two files of the original project and compare the differences between them and my project. I was hoping that

How to apply a .diff file

谁说胖子不能爱 提交于 2019-12-04 06:33:52
I got a .diff type file , seems like blew: diff --git a/res/User.lua b/res/User.lua index db8c2cc..4d2af0f 100644 --- a/res/User.lua +++ b/res/User.lua @@ -5,6 +5,7 @@ resetPassword = {} +UserInfo = {} Should i manually modify my local User.lua , or can i apply a diff file as like apply a patch file ? (or should convert a .diff file to .patch file, how to?) would be thankful for any help. VonC should convert a .diff file to .patch file, how to? No, the extension isn't important. The content is. You can try, and if doesn't work, fallback on this comment by Евгений Чорба (Evgeny Solis) : For

Compare two files for differences in python

ぐ巨炮叔叔 提交于 2019-12-04 06:06:36
问题 I want to compare two files (take line from first file and look up in whole second file) to see differences between them and write missing line from fileA.txt to end of fileB.txt. I am new to python so at first time I thought abou simple program like this: import difflib file1 = "fileA.txt" file2 = "fileB.txt" diff = difflib.ndiff(open(file1).readlines(),open(file2).readlines()) print ''.join(diff), but in result I have got a combination of two files with suitable tags for each line. I know

Measuring “closeness” in large source trees

♀尐吖头ヾ 提交于 2019-12-04 05:26:41
As part of a question I posed earlier about finding the best match between two sources , where one has an active git repo and the other has no git history, I wrote a perl script to find the closest git commit . I'm in the process of rewriting the script so that you don't have to guess at which branch to use, but it will run through and find the closest match in all branches, then tell you the best commit with the best branch. Unfortunately, I'm finding that the measurement I'm using may not be the best judge of "closeness." Currently, I use diff -burN -x.git my_git_subtree my_src_subtree | wc