Edgewall Software
Modify

Opened 20 years ago

Closed 19 years ago

Last modified 18 years ago

#1662 closed enhancement (fixed)

see/download a diff of individual files within a changeset

Reported by: xris Owned by: Christian Boos
Priority: normal Milestone: 0.10
Component: version control/changeset view Version: devel
Severity: normal Keywords: tracdiff
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Sometimes you just want to apply part of a changeset to your local branch (like if there's a conflict). It'd be really nice to be able to have that diff available in trac, rather than have to sort through the whole changeset.

Attachments (0)

Change History (6)

comment:1 by Christian Boos, 20 years ago

Owner: changed from Jonas Borgström to Christian Boos
Status: newassigned

With the current status of TracDiff, it's already possible to view a restricted changeset, i.e. a subset of a changeset containing the changes below a given path.

Would that be enough?

OTOH, I had the idea of adding a possibility to filter out changes from a given diff view (be it a changeset or a more general diff), by the way of an Exclude checkbox on each diff, but then I was not sure if it was really worth it…

Thoughts?

comment:2 by xris, 20 years ago

Well, it'd be nice to at least have a link next to each file in the list at the top of the page going to TracDiff that would show only those changes…

comment:3 by anonymous, 20 years ago

Another think that would be nice is to see a history of a single file, ie show incremental differences between successive revisions of a file.

It would look just like the current multi-file changeset diff, but instead of showing the differences in all files between changeset n and changeset n-1, it would diff a single file between muliple changesets.

I'll discuss this more on the mailing list and depending on the outcome of this may expand further.

comment:4 by Matthew Good, 20 years ago

I believe that the previous comment is actually asking for blame support as in #629.

comment:5 by Christian Boos, 19 years ago

Keywords: tracdiff added

comment:6 by Christian Boos, 19 years ago

Milestone: 0.10
Resolution: fixed
Status: assignedclosed

That's now possible using the restricted changeset view: from the TracBrowser, simply click on the Last Change navigation link, and you go to a changeset page showing only the changes for the current path.

From there, the diff format link will produce the diff that you're looking for.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


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