Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.3, 2.0.4, and 2.0.5

stable repofilter: do not ignore the selected branch when filtering via a revset (closes #473)

The filtering is performed when creating a graph, not when calculating the
revset.

Changeset 37c575f468ba

Parent 39325fba6220

by Angel Ezquerra

Changes to 2 files · Browse files at 37c575f468ba Showing diff from parent 39325fba6220 Diff from another changeset...

 
52
53
54
 
55
56
57
58
59
60
61
62
63
64
65
66
67
 
52
53
54
55
56
57
58
 
59
60
61
62
63
 
64
65
66
@@ -52,16 +52,15 @@
  """     revset = opts.get('revset', None) + branch = opts.get('branch', None)   if revset:   start_rev = max(revset)   stop_rev = min(revset) - branch = None   follow = False   hidden = lambda rev: rev not in revset   else:   start_rev = opts.get('start_rev', None)   stop_rev = opts.get('stop_rev', 0) - branch = opts.get('branch', None)   follow = opts.get('follow', False)   hidden = lambda rev: False  
 
123
124
125
126
 
127
128
129
 
123
124
125
 
126
127
128
129
@@ -123,7 +123,7 @@
  self.filterbranch = branch   self.invalidateCache()   if self.revset and self.filterbyrevset: - grapher = revision_grapher(self.repo, revset=self.revset) + grapher = revision_grapher(self.repo, branch=branch, revset=self.revset)   self.graph = Graph(self.repo, grapher, include_mq=False)   else:   grapher = revision_grapher(self.repo, branch=branch,