Update fzf location
[dotfiles] / .hgrc
1 [ui]
2 username = Nsukami Patrick <ptrck at nskm dot xyz>
3 verbose = True
4 ignore = ~/.hgignore
5 editor = emacs
6 # ssh = ssh -C -i ~/.ssh/id_ed25519_do
7 # ssh = ssh -C -i ~/.ssh/id_ed25519_logilab_forge
8 merge = internal:merge3
9 # to avoid uncomfortable question-and-answer-interface when hg commit -i
10 interface = curses
11
12 [extensions]
13 # Rebase allows moving commits around in Mercurial's history (using a series of internal merges).
14 rebase =
15
16 # modifies the status command to add color to its output
17 color =
18
19 # pretty graph log using hg glog
20 graphlog =
21
22 # so I can squash, fold, reorder commits
23 histedit =
24
25 # so I can remove a commit
26 strip =
27
28 # so I can squash using fold
29 # hg clone https://www.mercurial-scm.org/repo/evolve
30 # cd evolve && python setup.py install --user
31 evolve =
32
33 #
34 topic =
35
36 # so I can send patches via email
37 hgext.patchbomb =
38
39 # draw progress bar
40 progress =
41
42 # set your pending changes aside temporarily and restore them at a later time
43 shelve =
44
45 # purges all files and directories not being tracked by Mercurial in the current repository.
46 purge =
47
48 #
49 remotenames =
50
51
52 [alias]
53 delete-topic = prune -r "topic(${topic})"
54 commit-except = commit -X
55 ch-bookmark = update
56 del-bookmark = bookmark --delete
57 unpushed = outgoing # or hg out
58 unpulled = incoming # or hg in
59 last-commit = parents
60 show-to-be-purge = purge --print
61 log = log -f
62 slog = log --template '{date} | {author|user}: {desc|strip|firstline}\n'
63 plog = log --template '[{phase}] {author|user} {desc|strip|firstline}\n'
64 undo-add = forget
65 undo-mod = revert
66 undo-commit = strip --keep .
67 show-file-at-rev = cat -r $1
68 show-cs = diff -c
69 all-my-heads = heads --template '{node|short} | {date|isodatesec} | {author|user}: {desc|strip|firstline}\n'
70 # reinstate= !find `$HG root` -name "*.orig" -exec rename -f 's/.orig//' {} \;
71
72 [email]
73 from = Nsukami Patrick <ptrck@nskm.xyz>
74 to = cubicweb-devel@lists.cubicweb.org
75 method = smtp
76
77 [smtp]
78 host = mail.gandi.net
79 port = 587
80 username = ptrck@nskm.xyz
81 password = AZERTY
82 tls = True
83
84 [diff]
85 git = True
86
87 # has to be put on the server,
88 # which inhibits the usual phase-change there
89 [phases]
90 publish = False
91
92
93 [color]
94 status.modified = magenta bold
95 status.added = green bold
96 status.removed = red bold
97 status.deleted = cyan bold
98 status.unknown = blue bold
99 status.ignored = black bold
100
101 # to make topics and evolve easier to work with,
102 # the following options are recommanded
103 mode = terminfo
104 log.topic = blue_background white
105 log.draft = blue_background black
106
107 # to make topics and evolve easier to work with,
108 # the following options are recommanded
109 [experimental]
110 graph-group-branches = True
111 graph-group-branches.firstbranch = .
112 thg.displaynames = topics
113 verbose-obsolescence-exchange = 1
114 enforce-topic = False
115
116 [hooks]
117 # hg clone https://dev.monetdb.org/hg/check_whitespace/
118 # check whether any of the added or changed lines contains incorrect white space.
119 # No trailing white space nor TAB characters.
120 # The hook will also check for and refuse left over conflict resolution markers
121 # and non-empty files not ending with a newline.
122 # pretxncommit.whitespace = python:/home/nsukami/check_whitespace/check_whitespace.py:hook
123
124
125
126 # retrieve completion for mercurial
127 # $ cd
128 # $ wget http://selenic.com/hg/raw-file/25e4d2f35965/contrib/bash_completion -P opt/packages/mercurial
129 # $ echo ". opt/packages/mercurial/bash_completion" >> .bashrc
130 # $ . opt/packages/mercurial/bash_completion