Edgewall Software
Modify

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

log.diff (1.7 KB) - added by miyamuko@… 5 years ago.
session_option.diff (1.5 KB) - added by miyamuko@… 5 years ago.
session option patch against r6009

Download all attachments as: .zip

Change History

Changed 5 years ago by miyamuko@…

comment:1 Changed 5 years ago by nkantrowitz

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

Changed 5 years ago by miyamuko@…

session option patch against r6009

comment:2 Changed 5 years ago by miyamuko@…

That makes sense.
How about session_option.diff patch?

comment:3 Changed 4 years ago by cboos

  • Milestone set to 0.12

Interesting.

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
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from cboos. Next status will be 'new'
The owner will be changed from cboos to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.