Edgewall Software
Modify

Opened 10 years ago

Last modified 12 months ago

#6002 new enhancement

[PATCH] Adds an options to customize the default history mode

Reported by: miyamuko@… Owned by:
Priority: normal Milestone: next-stable-1.2.x
Component: version control/log view Version: devel
Severity: normal Keywords: bitesized patch preferences
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 (2)

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

Download all attachments as: .zip

Change History (16)

Changed 10 years ago by miyamuko@…

Attachment: log.diff added

comment:1 Changed 10 years ago by Noah Kantrowitz

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

Changed 10 years ago by miyamuko@…

Attachment: session_option.diff added

session option patch against r6009

comment:2 Changed 10 years ago by miyamuko@…

That makes sense. How about session_option.diff patch?

comment:3 Changed 10 years ago by Christian Boos

Milestone: 0.12

Interesting.

comment:4 Changed 9 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 7 years ago by Christian Boos

Milestone: next-major-0.1X0.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 7 years ago by Christian Boos

See also ticket:3360#comment:4 for a more general proposal to handle user preferences.

comment:7 Changed 7 years ago by Christian Boos

Keywords: userpreferences added

comment:8 Changed 7 years ago by Martin Scharrer <martin@…>

Cc: martin@… added

comment:9 Changed 5 years ago by Remy Blank

Milestone: 1.01.0-triage

Preparing for 1.0.

comment:10 Changed 5 years ago by Christian Boos

Keywords: bitesized added

We could do that in the same way we store the ticket comment history mode.

(leaving on stable, as it might still be done in time for 1.0)

comment:11 Changed 3 years ago by Ryan J Ollos

Keywords: preferences added; userpreferences removed

comment:12 Changed 3 years ago by Ryan J Ollos

Owner: Christian Boos deleted

comment:13 Changed 2 years ago by figaro

Keywords: patch added

comment:14 Changed 12 months ago by Ryan J Ollos

Milestone: next-stable-1.0.xnext-stable-1.2.x

Moved ticket assigned to next-stable-1.0.x since maintenance of 1.0.x is coming to a close. Please move the ticket back if it's critical to fix on 1.0.x.

Modify Ticket

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

Add Comment


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

 
Note: See TracTickets for help on using tickets.