- May 27, 2016
-
-
Sean Farley authored
We're going to need to use this code in our autoverb logic so let's extract it now and save ourselves from code duplication.
-
- May 26, 2016
-
-
Sean Farley authored
Now that the autoverb logic no longer acts on an individual rule line, we don't need this parameter since we apply our logic just once at the time of initialization.
-
Sean Farley authored
This is needed for an upcoming change that will automatically rearrange the rules based on the commit message. Before this patch, the autoverb logic only applied to one rule at a time. This moves that logic one step up so that it can iterate over all the rules and rearrange as needed.
-
- Jun 04, 2016
-
-
Pulkit Goyal authored
The cPickle is renamed to _pickle in python3 and this C extension is available in pickle which was not included in earlier versions. So imports are conditionalized to import cPickle in py2 and pickle in py3. Moreover the use of pickle in py2 is switched to cPickle as the C extension is faster. The hack is added in util.py and the modules import util.pickle
-
- May 07, 2016
-
-
Sean Farley authored
This allows users to start a commit with "verb! ..." so that when this is opened in histedit, the default action will be "verb". For example, "roll! foo" will default to the action "roll". Currently, we'll allow any known verb to be used but this is experimental.
-
Sean Farley authored
A simple refactor to allow us to change the default verb for the initial editor display.
-
- May 14, 2016
-
-
Yuya Nishihara authored
Since (b) is banned, we should do the same for (a) for consistency. a) from mercurial import hg from mercurial.i18n import _ b) from . import hg from .i18n import _
-
- May 06, 2016
-
-
Pulkit Goyal authored
-
- Mar 19, 2016
-
-
Mateusz Kwapich authored
Adds a hint to histedit comment reminding user about enabled dropmissing. This will make the enabled dropmissing more visible. The example comment: # Edit history between b592564a803c and b54649a8a63f # # Commits are listed from least to most recent # # You can reorder changesets by reordering the lines # # Commands: # # e, edit = use commit, but stop for amending # m, mess = edit commit message without changing commit content # p, pick = use commit # b, base = checkout changeset and apply further changesets from there # d, drop = remove commit from history # f, fold = use commit, but combine it with the one above # r, roll = like fold, but discard this commit's description # # Deleting a changeset from the list will DISCARD it from the edited history!
-
- Mar 15, 2016
-
-
Jun Wu authored
Closing stdin is unexpected by chgserver and is not a good idea generally. This patch refactors related code a bit and make sure stdin is not closed. It will make chg much happier on test-histedit*.t.
-
- Mar 13, 2016
-
-
Mateusz Kwapich authored
We noticed that many users have the intuition of laving the editor empty when they want to abort the operation. The fact that dropmissing allows user to delete all edited commits is not intuitive even for users that asked for it. Let's prevent people from this footgun.
-
- Mar 08, 2016
-
-
liscju authored
-
- Mar 02, 2016
-
-
timeless authored
There are various ways to use histedit such that an item in the list of things to perform will not result in a change relative to the previous repository state. When that happens, histedit does not keep the commit/message. This changes the note to try to explain to the user that it will not be present in their history.
-
- Feb 29, 2016
-
-
liscju authored
-
- Feb 24, 2016
-
-
Pierre-Yves David authored
The previous version of the code was interpreting markers to a missing node as a prune in all cases. The expected way to handle such situation is to keep reading markers, only turning successors into "prune" if they are at the end of a chain. We update the code and add a test for this.
-
- Feb 23, 2016
-
-
Kostia Balytskyi authored
Before this change, when histedit exited to interactive session (during edit command for example), user could introduce obsolescence markers that would not be known to histedit. For example, user could've amended one of the commits. The fact of this amendment would not be stored in histedit's state file and later, when histedit would try to process all the replacements, one of the final successors (in histedit's opinion) would turn out to be hidden. This behavior is described in issue4800. This commit fixes it.
-
- Feb 16, 2016
-
-
Kostia Balytskyi authored
This is a part of a bigger refactoring effort with the ultimate goal of better understanding of how histedit works and fixing issue4800.
-
- Feb 15, 2016
-
-
Kostia Balytskyi authored
I recently broke _histedit into multiple functions, each of which had 'action' in its name. This is a little bit confusing since 'action' is the word for an individual histedit plan item (such as edit or pick). To avoid this confusion, these functions are now renamed to contain 'histedit' as part of their names.
-
Kostia Balytskyi authored
This is a part of a bigger effort to refactor histedit with ultimate goal of understanding it.
-
Kostia Balytskyi authored
This is a part of bigger effort to refactor histedit with ultimate goal of understanding it.
-
- Feb 14, 2016
-
-
Kostia Balytskyi authored
We add _getgoal, _validateargs. This is a part of bigger effort to refactor histedit. Initial steps are to break _histedit function into smaller pieces which will supposedly be more understandable. After this is done, I will have a better understanding of how histedit works and apply that to fix issue4800.
-
Kostia Balytskyi authored
This is a part of bigger effort to refactor histedit. Initial steps are to break _histedit function into smaller pieces which will supposedly be more understandable. After this is done, I will have a better understanding of how histedit works and apply that to fix issue4800.
-
- Feb 01, 2016
-
-
Kostia Balytskyi authored
This is a part of bigger effort to refactor histedit. Initial steps are to break _histedit function into smaller pieces which will supposedly be more understandable. After this is done, I will have a better understanding of how histedit works and apply that to fix issue4800.
-
Kostia Balytskyi authored
This is a part of bigger effort to refactor histedit. Initial steps are to break _histedit function into smaller pieces which will supposedly be more understandable. After this is done, I will have a better understanding of how histedit works and apply that to fix issue4800.
-
Kostia Balytskyi authored
This is a part of bigger effort to refactor histedit. Initial steps are to break _histedit function into smaller pieces which will supposedly be more understandable. After this is done, I will have a better understanding of how histedit works and apply that to fix issue4800.
-
- Feb 04, 2016
-
-
timeless authored
Suggest committing (or whatever the current activity is), via wrongtooltocontinue which uses howtocontinue.
-
- Feb 11, 2016
-
-
Katsunori FUJIWARA authored
For example, ":hg:`help config.default-push`" creates an invalid link to "hgrc.5.html#default-push" in HTML, but ":hg:`help config.paths.default-push`" creates a valid link to "hgrc.5.html#paths".
-
- Feb 03, 2016
-
-
timeless authored
Output is retained when: * There's a conflict * User asked to edit * User aborts otherwise, output is suppressed
-
Wagner Bruna authored
-
- Feb 01, 2016
-
-
Katsunori FUJIWARA authored
This patch fixes problems below: - ":hg:" role should be followed by not '"' but '`' - there is a help topic not "default-push" but "config.default-push"
-
Katsunori FUJIWARA authored
This creates hg.1.html as expected.
-
Katsunori FUJIWARA authored
This creates hg.1.html as expected.
-
Katsunori FUJIWARA authored
node.short() on 'ha' in verifyactions() causes broken hash ID, because it is initialized with node.hex()-ed node value.
-
- Jan 15, 2016
-
-
Bryan O'Sullivan authored
-
Bryan O'Sullivan authored
-
- Dec 23, 2015
-
-
timeless authored
also fix terse command syntax
-
- Dec 22, 2015
-
-
timeless authored
This should be hooked into @action via an extended help argument, but that is future work.
-
- Dec 23, 2015
-
-
timeless authored
-
timeless authored
@action supports verbs, messages, priority, and internal messages should be translated. internal means the action should not be listed. geteditcomment will construct the verbs list based on @actions (prefering priority over non priority, otherwise favoring verbs with short forms over verbs without).
-
timeless authored
Selecting editing commits, rewording commit messages, and selecting commits are key actions, we will prefer them more generally in a future commit, this pulls them ahead before that to make the diffs easier to read. The remaining commands are left alphabetically sorted
-