meld

Meld error “Cannot import: GTK+; No module named repository”

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-01 22:34:44
Meld used to work on my machine (openSuse Linux 13.1, Python 2.7.6) but after having trouble with Spyder (like it refusing to actually run any scripts), I uninstalled a large number of things, then slowly brought them back again. Since then, meld does not work anymore. I keep getting this error message > meld Cannot import: GTK+ No module named gi I was able to solve that by installing gi: > pip install gi Now the error is replaced by: > meld Cannot import: GTK+ No module named repository ... and here is a similar question where uninstalling gi apparently helped? I'm confused. I did try

Git Extensions and Meld merge

依然范特西╮ 提交于 2019-12-01 06:00:45
Is it possible to use Meld as a merge tool when using Git Extensions on Windows? Tomasz Maj In Git Extension: Settings -> Git Config Merge tool: meld Path to mergetool: C:/Program Files (x86)/Meld/Meld.exe Merge tool command: "C:/Program Files (x86)/Meld/Meld.exe" --diff "$BASE" "$LOCAL" "$REMOTE" --output "$MERGED" Yes it is, in response to this issue . Like Thomas, the accepted answer didn't quite work for me. The merged file was not saved after meld was closed. However, Thomas's answer didn't work for me either. While the file did save, it opened in Meld with the merged markup. Instead, I'm

Git Extensions and Meld merge

心已入冬 提交于 2019-12-01 03:41:58
问题 Is it possible to use Meld as a merge tool when using Git Extensions on Windows? 回答1: In Git Extension: Settings -> Git Config Merge tool: meld Path to mergetool: C:/Program Files (x86)/Meld/Meld.exe Merge tool command: "C:/Program Files (x86)/Meld/Meld.exe" --diff "$BASE" "$LOCAL" "$REMOTE" --output "$MERGED" 回答2: Yes it is, in response to this issue. 回答3: Like Thomas, the accepted answer didn't quite work for me. The merged file was not saved after meld was closed. However, Thomas's answer

What are the three files in a 3-way merge for interactive rebasing using git and meld?

旧时模样 提交于 2019-12-01 03:08:09
问题 Let's say I do an interactive rebase with git rebase -i . If some conflict arises I might be presented with a merge conflict and asked to do a 3-way merge. Using meld , I am presented with three windows: LOCAL (left), ??? (middle), and REMOTE (right). Here by ??? I mean simply that meld doesn't provide some special name to append to the file. During a normal merge this makes sense, since the middle is the common ancestor and you are merging the local and remote changes to that ancestor.

Viewing git filters output when using meld as a diff tool

自闭症网瘾萝莉.ら 提交于 2019-11-30 15:34:16
I set up some git filters in order to preprocess certain files (in my case IPython Notebooks) before committing them. To be more exact I'm following these instructions: https://stackoverflow.com/a/20844506/578770 This works fine and the files are correctly filtered if I commit my changes or if I review the change using the command line "git diff ". However, if I'm reviewing my changes using meld, the files are not filtered. I tried several way to set up meld as a diff tool for git: by calling git difftool by calling meld from a custom script But none of the solutions I've found for using meld

Why doesn't `git diff` invoke external diff tool?

孤者浪人 提交于 2019-11-30 04:28:56
In my repository, if I type $ git diff some-file or $ git difftool some-file I get the in-terminal diff display. I think this should not happen, because I have set up an external diff tool, as shown by the output of git config -l : $ git config -l user.name=blah blah user.email=blah blah http.sslverify=true diff.external=/home/daniel/bin/git-diff <--This is the important line push.default=simple core.filemode=false core.editor=gedit alias.tree=log --all --graph --decorate=short --color --format=format:'%C(bold blue)%h%C(reset) %C(auto)%d%C(reset) %C(black)[%cr]%C(reset) %x09%C(black)%an: %s %C

git - diff of current changes before committing

丶灬走出姿态 提交于 2019-11-30 00:12:28
I have changed several files in a git repository, but have not committed them yet. I can get a list of the changes by just invoking git status . But how do I get a listing of the lines or the content that I have changed, in addition to the filenames? I initially thought about using git diff , but it seems to be useful only for comparing already commited changes. Usually I just do meld . , but on this case I'm connected to an external server via ssh. Mischa Arefiev git diff by default shows difference between your working directory and the index ( staging area for the next commit). If you have

Subversion diff for zipped xml file

笑着哭i 提交于 2019-11-29 14:07:24
问题 I'm using MySQL Workbench to maintain the database schema for an application. The .mwb file that Workbench uses, which is a zipped XML document, is kept in a Subversion repository. The file is treated as binary data by Subversion, so I cannot use svn diff to show the changes, for example before committing. Since the data is really XML, I'm thinking there might be some way to show the diff anyway, maybe some script that unzips the file before, or some plugin to svn diff . The ideal solution

Why doesn't `git diff` invoke external diff tool?

﹥>﹥吖頭↗ 提交于 2019-11-29 01:44:14
问题 In my repository, if I type $ git diff some-file or $ git difftool some-file I get the in-terminal diff display. I think this should not happen, because I have set up an external diff tool, as shown by the output of git config -l : $ git config -l user.name=blah blah user.email=blah blah http.sslverify=true diff.external=/home/daniel/bin/git-diff <--This is the important line push.default=simple core.filemode=false core.editor=gedit alias.tree=log --all --graph --decorate=short --color -

Git Diff and Meld on Windows

依然范特西╮ 提交于 2019-11-28 19:34:43
Has anyone ever made Meld work with Git on Windows? I am trying to make it work and I have no success. I have Meld installed and when I call it from the command line with two files as parameters it diffs them well so Meld is installed correctly. However I can't make it work with Git (Git Diff). I use version git version 1.8.1.msysgit.1 of Git. I have tried several things: I created a shell script, meld.sh : #!/bin/bash meld.exe "$2" "$5" echo $2 echo $5 and used it from Git: [diff] tool = meld [difftool "meld"] cmd = \"D:\\meld.sh\" I tried to add it as a difftool like this: [diff] tool = meld