Sun, 12 Feb 2017 17:32:18 -0500
safer sudo -e
8
ba72a71f23e6
Add mercurial config and hgflow extension
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
1 | [ui] |
ba72a71f23e6
Add mercurial config and hgflow extension
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
2 | username = Meredith Howard <mhoward@roomag.org> |
79 | 3 | merge = vimdiff |
8
ba72a71f23e6
Add mercurial config and hgflow extension
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
4 | |
ba72a71f23e6
Add mercurial config and hgflow extension
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
5 | [extensions] |
209 | 6 | color = |
7 | graphlog = | |
8
ba72a71f23e6
Add mercurial config and hgflow extension
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
8 | pager = |
209 | 9 | progress = |
10 | churn = | |
11 | rebase = | |
12 | record = | |
13 | shelve = | |
14 | histedit = | |
254 | 15 | schemes = |
8
ba72a71f23e6
Add mercurial config and hgflow extension
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
16 | |
ba72a71f23e6
Add mercurial config and hgflow extension
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
17 | [pager] |
506 | 18 | pager = LESS='FSRXi' less |
8
ba72a71f23e6
Add mercurial config and hgflow extension
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
19 | |
ba72a71f23e6
Add mercurial config and hgflow extension
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
20 | [alias] |
ba72a71f23e6
Add mercurial config and hgflow extension
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
21 | fetch = pull --rebase |
443
e731ef81637c
support hg in git-ctags, deduplicate hg helper stuff
Meredith Howard <mhoward@roomag.org>
parents:
355
diff
changeset
|
22 | ctags = !~/bin/git-ctags |
8
ba72a71f23e6
Add mercurial config and hgflow extension
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
23 | |
79 | 24 | [merge-tools] |
25 | vimdiff.executable = vim | |
26 | vimdiff.args = -d $base $local $output $other +close +close | |
27 | vimdiff.check = changed, conflicts | |
28 | ||
222 | 29 | [diff] |
30 | git = true | |
31 | showfunc = true | |
32 | ||
219
9ab4c7db4b3a
Add diffs to commit template
Meredith Howard <mhoward@roomag.org>
parents:
209
diff
changeset
|
33 | [committemplate] |
9ab4c7db4b3a
Add diffs to commit template
Meredith Howard <mhoward@roomag.org>
parents:
209
diff
changeset
|
34 | changeset = {desc}\n\n |
9ab4c7db4b3a
Add diffs to commit template
Meredith Howard <mhoward@roomag.org>
parents:
209
diff
changeset
|
35 | HG: {extramsg} |
9ab4c7db4b3a
Add diffs to commit template
Meredith Howard <mhoward@roomag.org>
parents:
209
diff
changeset
|
36 | HG: user: {author}\n{ifeq(p2rev, "-1", "", |
9ab4c7db4b3a
Add diffs to commit template
Meredith Howard <mhoward@roomag.org>
parents:
209
diff
changeset
|
37 | "HG: branch merge\n") |
9ab4c7db4b3a
Add diffs to commit template
Meredith Howard <mhoward@roomag.org>
parents:
209
diff
changeset
|
38 | }HG: branch '{branch}'\n{if(currentbookmark, |
9ab4c7db4b3a
Add diffs to commit template
Meredith Howard <mhoward@roomag.org>
parents:
209
diff
changeset
|
39 | "HG: bookmark '{currentbookmark}'\n") }{subrepos % |
9ab4c7db4b3a
Add diffs to commit template
Meredith Howard <mhoward@roomag.org>
parents:
209
diff
changeset
|
40 | "HG: subrepo {subrepo}\n" } |
9ab4c7db4b3a
Add diffs to commit template
Meredith Howard <mhoward@roomag.org>
parents:
209
diff
changeset
|
41 | {splitlines(diff()) % 'HG: {line}\n'} |
79 | 42 | |
8
ba72a71f23e6
Add mercurial config and hgflow extension
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
43 | %include ~/.hgrc.local |