Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

nautilus: slightly more robust cwd detection

same heuristic as Windows

Changeset b53b5234c94d

Parent 283fe96bcb86

by Steve Borho

Changes to one file · Browse files at b53b5234c94d Showing diff from parent 283fe96bcb86 Diff from another changeset...

 
161
162
163
164
 
 
165
166
167
 
161
162
163
 
164
165
166
167
168
@@ -161,7 +161,8 @@
  files = []   repo = self.get_repo_for_path(cwd)   else: - cwd = os.path.dirname(files[0]) + f = files[0] + cwd = os.path.isdir(f) and f or os.path.dirname(f)   repo = self.get_repo_for_path(cwd)   if repo:   menus = self.menu.get_commands(repo, cwd, files)