Skip to content

Commit 71b9401

Browse files
committed
Change default hgrc (with topic-mode)
1 parent f4e5201 commit 71b9401

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/hg_setup/hgrcs.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,23 @@ def make_text(
154154
# (see 'hg help pager' for details)
155155
{paginate}
156156
157+
[experimental]
158+
# topic-mode (see `hg help -e topic`)
159+
# set the behavior when a draft commit is created in default:
160+
# - ignore (do nothing special, default)
161+
# - warning (print a warning)
162+
# - enforce (abort the commit, except for merge)
163+
# - enforce-all (abort the commit, even for merge)
164+
# - random (use a randomized generated topic)
165+
topic-mode = warning
166+
157167
[alias]
158168
lg = log -G
159169
up = up -v
160170
171+
# [subrepos]
172+
# git:allowed = true
173+
161174
[extensions]
162175
# uncomment the lines below to enable some popular extensions
163176
# (see 'hg help extensions' for more info)

0 commit comments

Comments
 (0)