Skip to content

Commit b52935b

Browse files
committed
include tags from the parent branch
1 parent e4e643e commit b52935b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/history/MercurialRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ protected void buildTagList(File directory, CommandTimeoutType cmdType) {
637637
argv.add("log");
638638
argv.add("-b");
639639
argv.add(getBranch());
640-
argv.add("--rev=reverse(tag())");
640+
argv.add("--rev=reverse(0::branch(" + this.getBranch() + ") and tag())");
641641
// Use '|' as a revision separator rather than ':' to avoid collision with the commonly used
642642
// separator within the revision string (which is not used in this output but better
643643
// safe than sorry).

0 commit comments

Comments
 (0)