Anonymous avatar Anonymous committed 670c0cc

Fixed get_parent_revs _read_tags_for_rev when user has custom templates or styles for hg log history

Comments (0)

Files changed (1)


 		return loc_rel_paths
 	def get_parent_revs(self, rev=None):
-		cmd = [self.exe, 'parents']
+		cmd = [self.exe, 'parents', '--style', 'default', '--config', 'defaults.parents=' ]
 		if rev:
 			cmd.extend(['--rev', str(rev)])
 		out = self._run_cmd(cmd)
 		Return the tags for revision sorted by when the tags were
 		created (latest first)
-		cmd = [self.exe, 'log', '-r', rev_num]
+		cmd = [self.exe, 'log', '--style', 'default',  '--config', 'defaults.log=', '-r', rev_num]
 		res = self._run_cmd(cmd)
 		tag_lines = [
 			line for line in res.splitlines()
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.