Edgewall Software
Modify

Ticket #8068 (new enhancement)

Opened 3 years ago

Last modified 2 years ago

Mercurial bundle attachments should be viewable in readable representation.

Reported by: fvbommel Owned by: cboos
Priority: normal Milestone: plugin - mercurial
Component: plugin/mercurial Version: none
Severity: normal Keywords: bundle mimeview
Cc:
Release Notes:
API Changes:

Description

When a mercurial bundle is attached to a ticket, viewing that attachment should show a readable representation of the changesets it contains (as if a regular patch had been attached).

Extra points if it also shows metadata about the revisions in the bundle, like author and commit message :).

(All of the above assumes the project has a mercurial repository and the parent revision of the bundle is in that repository)

Attachments

Change History

comment:1 Changed 3 years ago by cboos

  • Keywords bundle mimeview added
  • Milestone set to not applicable

Interesting suggestion, I'll have a look.

One of the problem I see is that a bundle is not always like a "patch", i.e. it's a repository on its own, so it can actually contain several branches, merges, etc.

So it should eventually be possible to show a bundle as a patch only if there's one head in the bundle and one common ancestor of the revisions from the bundle in the repository.

Another approach would be to open the bundle as an actual repository, allowing the full range of browsing operations on it (that would be based on the MultiRepos branch).

comment:2 Changed 2 years ago by cboos

  • Milestone changed from not applicable to mercurial-plugin
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.