Questions tagged [mercurial-commit]

20 questions
0
votes
0 answers

Have Mercurial repo reject any push that would result in a multiheaded branch

How can I configure a Mercurial repo to reject any push that would result in a multiheaded branch? As a follow up, how can I configure a clone to always pull before a commit, so hg can warn if the commit will result in a multiheaded branch, so the…
XDR
  • 4,070
  • 3
  • 30
  • 54
0
votes
1 answer

Revert Mercurial Commit for Merge

I am working on a Hg repo in BitBucket. I forked this repo from another main repo. Here's my scenario: > hg paths default = ssh://hg@bitbucket.org/shuwnyuantee/jstock-android-as yccheok = ssh://hg@bitbucket.org/yccheok/jstock-android-as default…
Shuwn Yuan Tee
  • 5,578
  • 6
  • 28
  • 42
0
votes
4 answers

How do I attach a number to a Mercurial commit?

How do I include a defect number when doing a mercurial commit? The way that I'm currently doing it is to precede the commit message with the defect number so that QA can find the commits that relate to each defect. Is there a field or tag that…
Guy
  • 65,082
  • 97
  • 254
  • 325
0
votes
1 answer

associate files with mercurial commits

I am thinking of a way to associate a single file with each mercurial commit I make. The content of this file can vary from Detailed multiline comments about the commit Problem solving methodology incase of bug-fixes I understand that these can…
Keval Doshi
  • 738
  • 6
  • 25
0
votes
2 answers

How to view a single Mercurial commit from the command line?

I would like to view from the commandline what was changed in given Mercurial commit similar to what one would see from hg status or from the TortoiseHg tool. The closest I can seem to get is hg log --stat but that prints extra symbols (i.e. pluses…
Sled
  • 18,541
  • 27
  • 119
  • 168
1
2