Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

history: fix 'copy hash' to copy full hash again

This was broken by a refactoring in 0904336de754.

Changeset a2c367a7aa10

Parent 64320ec25561

by Sune Foldager

Changes to one file · Browse files at a2c367a7aa10 Showing diff from parent 64320ec25561 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​history.py Stacked
 
936
937
938
939
 
940
941
942
 
936
937
938
 
939
940
941
942
@@ -936,7 +936,7 @@
  dialog.display()     def copy_hash(self, menuitem): - hash = str(self.repo[self.currevid]) + hash = self.repo[self.currevid].hex()   sel = (os.name == 'nt') and 'CLIPBOARD' or 'PRIMARY'   clipboard = gtk.Clipboard(selection=sel)   clipboard.set_text(hash)