#13585 closed enhancement (wontfix)
Log view URL parameter to mark / highlight changesets
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | version control/log view | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
We use Trac to review "PR" branches. We write a ticket comment like this
Proposed changes in log:jomae.git@t13567 (1 commit)
This works fine for 1 or 2 commits, but for larger branches it is difficult to see (count) what commits are relevant.
Feature request: Allow somehow appending a parameter like ?commits=1-14:
Proposed changes in log:jomae.git@t13567?commits=1-14
This would be similar to the ?marks=1-14 appended by source:jomae.git/.github/workflows/build-completed.yml@t13567:1-14 and similarly highlight the first 14 commits / rows in the log table.
Attachments (0)
Change History (8)
comment:1 by , 3 years ago
comment:3 by , 3 years ago
It doesn't work on our Trac. (No changeset trunk in the repository.) What is trunk there? Is it a Git concept? (We use Mercurial.)
comment:4 by , 3 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
You could use the following links:
- View logs from branch1 through branch2 -
log:<reponame>@<branch1>:<branch2> - View logs at most N revisions -
log:<reponame>@<branch>?limit=<N>
follow-up: 6 comment:5 by , 3 years ago
Thanks for the feedback. &limit=... is a good option.
I still don't understand the trunk trick. What is trunk there? Is it Git specific? Is there a Mercurial equivalent? Thanks.
comment:6 by , 3 years ago
I still don't understand the
trunktrick. What istrunkthere? Is it Git specific? Is there a Mercurial equivalent? Thanks.
No. That is not trick. Specify existent branches/tags/sha-hahses in your repository to branch1 and branch2 in log:<reponame>@<branch1>:<branch2>.
follow-up: 8 comment:7 by , 3 years ago
I see, thanks, so trunk is the branch name, specific to the SVN-converted-to-Git Trac repository that points to the start of the relevant changes.
For a pure Mercurial repository we would need revsets, log:<reponame>@<revset1>:<revset2>, but that doesn't seem to work.



log:jomae.git@27971c89:t13567 is an almost similar existing feature, but has downsides that make it unusable:
27971c89.