Tagged Questions
1
vote
2answers
39 views
Mercurial diff including first changeset
I have recently encountered the need to generate a Mercurial diff of all changes up to a particular changeset which includes the first changeset of the repo. I realize this kind of stretches the ...
0
votes
1answer
8 views
How to visually (side by side) view a patch generated by Mercurial Queues on a repo?
I use a Mercurial Queues to create patches while I work on the repository.
So, let's say after I'm done with a patch, I do hg qrefresh and export the patch to some file I want.
So, now I have a patch ...
0
votes
1answer
15 views
How to find out if there are any not committed or pushed changes to a mercurial repository from bash?
I want to incorporate this logic to a bash script: to stop processing if the current repository has any local changes.
I do have the same logic for git, put now I need to for mercurial:
#!/bin/bash
...
5
votes
3answers
4k views
Mercurial: Creating a diff of two commits
Is there a way to get the changes of two commits with mercurial?
The second commit is not directly after the first one, there are some other ones between them.
I tried
hg diff [some params] --change ...
3
votes
2answers
1k views
How to view the mercurial diff between local and repository?
Hi
Using Mercurial I'm looking for a command to display for example files I didn't add.
Can you specify if there's a name for the command I'm looking for? Like displaying the difference between the ...
1
vote
2answers
124 views
BitBucket colored diff email service
Does anyone know about anyway to send out colored diffs of commits in bitbucket? I reckon you can do that by pushing out a HTTP call to your own server, but I need a solution in case you do not have ...
1
vote
2answers
43 views
Exporting diffs without having to commit in Mercurial
I am using TortoiseHg GUI and it seems that there is no way to export diffs between my uncommited changes and the last revision. Is there a way to do it using hg ?
My requirements :
I do not want ...
2
votes
4answers
614 views
Vim - show diff on commit in mercurial;
In my .hgrc I can provide an editor or a command to launch an editor with options on commit.
I want to write a method or alias that launches $ hg ci, it would not only open up message in Vim, but ...
11
votes
4answers
4k views
How to set “hg diff” output shows in gvim?
I use mercurial and I want to see modified change in Vim or GVim.
Normally there is hg diff which show the modified changes in diff format.
but I want to see it in Vim as the original version and ...
1
vote
2answers
47 views
Why doesn't my name and email appear in patches?
I have a remote repo cloned in my local computer.
After I make changes to a file, I commit, and then I do this to create a patch:
hg diff -U 8 -p -r PREVIOUS_REVISION_NUMBER file_name > ...
0
votes
4answers
80 views
Diff after committing locally
I just cloned a repo from their remote.
I built the software, changed about 4 files, committed them locally and now want to create a patch that I can show them.
When I run :
hg diff -U8p abc efg ...
0
votes
1answer
66 views
Mercurial diff subset of files, by file content
I want to do a visual diff of all files in my working copy which contain a given string - say "TODO" or "REL 1.00.01"
The diff is against another revision (specifically the head of another branch).
...
0
votes
1answer
43 views
mercurial diff + unxutil “patch”
How do you make the mercurial "diff" command produce output that is compatible with the unix or unxutil patch command?
I need to create a patch file that I can send to a coworker who doesn't have ...
2
votes
1answer
44 views
Hg select file based on status?
Is there a way to select only those files that have the Modified status?
And is it possible to chain the selection to add more specific selectors?
I want to export the changes in those Modified ...
0
votes
2answers
130 views
mercurial - see changes on the branch ignoring all the merge commits
I have a branch that was developed for a long period of time. During the development default branch was merged into that branch several times. I would like now to review all the changes done on that ...