Ticket #6002 (new enhancement)
Opened 5 years ago
Last modified 20 months ago
[PATCH] Adds an options to customize the default history mode
| Reported by: | miyamuko@… | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.13 |
| Component: | version control/log view | Version: | devel |
| Severity: | normal | Keywords: | userpreferences |
| Cc: | martin@… | ||
| Release Notes: | |||
| API Changes: | |||
Description
I often uses "Follow copies" mode in revision log view.
But trac requires 2 clicks to change mode.
I always want to use my trac in follow_copy mode.
The attached patch (against r6000) adds "default_copy_mode" and "default_verbose"
options to trac.ini.
Attachments
Change History
Changed 5 years ago by miyamuko@…
comment:1 Changed 5 years ago by nkantrowitz
Changed 5 years ago by miyamuko@…
- Attachment session_option.diff added
session option patch against r6009
comment:2 Changed 5 years ago by miyamuko@…
That makes sense.
How about session_option.diff patch?
comment:4 Changed 3 years ago by zooko@…
When using the darcs backend instead of svn, there is no real file "copy". The "follow copies" option determines whether trac will follow file *moves*, and the default value of stopping the history when a file has moved is almost never what any darcs user wants.
So it would be good to make this configurable (as in the original patch from miyamuko) or else perhaps have some way for the Trac-Darcs plugin to set it.
comment:5 Changed 23 months ago by cboos
- Milestone changed from next-major-0.1X to 0.13
#3492 was closed as duplicate.
Patch looks good. This get_session_option help could perhaps also be reused in other places (timeline? diff options?).
comment:6 Changed 21 months ago by cboos
See also ticket:3360#comment:4 for a more general proposal to handle user preferences.
comment:7 Changed 21 months ago by cboos
- Keywords userpreferences added
comment:8 Changed 20 months ago by Martin Scharrer <martin@…>
- Cc martin@… added



I would propose this be made sticky on the session (like timeline filters) rather than adding a new option.