Edgewall Software

Opened 14 years ago

Last modified 3 years ago

#9852 new enhancement

Mercurial plugin support for pulling repository description from hgrc

Reported by: kamil@… Owned by:
Priority: normal Milestone: plugin - mercurial
Component: plugin/mercurial Version:
Severity: normal Keywords: repository
Cc: mmitar@… Branch:
Release Notes:
API Changes:
Internal Changes:


The description field of a Mercurial repository could be read from the repository's .hg/hgrc file. It's usually specified in the [web] section. The information could be used as the description if the field is left blank, or overridden otherwise. This would save admins from having to write the description in two places.

Attachments (0)

Change History (5)

comment:1 by Christian Boos, 14 years ago

Keywords: repository added
Milestone: 0.13

Ah yes, good idea. Now if you could transform this good idea into a good patch ;-)

I think I'll start using the main milestone instead of the somewhat redundant plugin - mercurial one, also useful as a way to show on which branch of the plugin the change will happen.

comment:2 by Remy Blank, 14 years ago

If possible, please allow overriding the description in hgrc with no description. I do have descriptions in hgrc for my repositories, for display in hgweb, but I prefer not displaying them in Trac, because they take too much vertical space.

comment:3 by Christian Boos, 13 years ago

Milestone: 0.13plugin - mercurial

comment:4 by Mitar, 13 years ago

Cc: mmitar@… added

comment:5 by Peter Suter, 11 years ago

th:HgDirManagerPlugin provides all repositories found in a directory, and it also provides hgrc descriptions for those repositories.

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.