1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed d89f441

settings: group web.name, encoding and phase as common repository properties

These config options are something like project properties in IDE. They
change the behavior of not only web interface but TortoiseHg or local
push/pull.

  • Participants
  • Parent commits 473c363
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/settings.py

View file
  • Ignore whitespace
     )),
 
 ({'name': 'web', 'label': _('Server'), 'icon': 'proxy'}, (
-    _fi(_('<b>Behavior:</b>'), None, genSpacer, ''),
+    _fi(_('<b>Repository Details:</b>'), None, genSpacer, ''),
+    _fi(_('Name'), 'web.name', genEditCombo,
+        _('Repository name to use in the web interface, and by TortoiseHg '
+          'as a shorthand name.  Default is the working directory.'),
+        noglobal=True),
+    _fi(_('Encoding'), 'web.encoding', (genEditCombo, ['UTF-8']),
+        _('Character encoding of files in the repository, used by the web '
+          'interface and TortoiseHg.')),
     _fi(_("'Publishing' repository"), 'phases.publish', genBoolRBGroup,
         _('Controls draft phase behavior when working as a server. When true, '
           'pushed changesets are set to public in both client and server and '
           'pulled or cloned changesets are set to public in the client. '
           'Default: True')),
     _fi(_('<b>Web Server:</b>'), None, genSpacer, ''),
-    _fi(_('Name'), 'web.name', genEditCombo,
-        _('Repository name to use in the web interface, and by TortoiseHg '
-          'as a shorthand name.  Default is the working directory.'),
-        noglobal=True),
     _fi(_('Description'), 'web.description', genEditCombo,
         _("Textual description of the repository's purpose or "
           'contents.')),
           'denied, and any authenticated user name present in this list '
           '(separated by whitespace or ",") is also denied. The contents '
           'of the deny_push list are examined before the allow_push list.')),
-    _fi(_('Encoding'), 'web.encoding', (genEditCombo, ['UTF-8']),
-        _('Character encoding of files in the repository, used by the web '
-          'interface and TortoiseHg.')),
     )),
 
 ({'name': 'proxy', 'label': _('Proxy'), 'icon': QStyle.SP_DriveNetIcon}, (