Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.1, 1.1.1, and 1.1.2

thgpbranch: Fix line endings

A couple of functions used CRLF instead of LF as line endings.

Changeset c09ac59c52b0

Parent 1a3b24f78901

by Peer Sommerlund

Changes to one file · Browse files at c09ac59c52b0 Showing diff from parent 1a3b24f78901 Diff from another changeset...

 
629
630
631
632
633
634
635
636
 
 
 
 
 
637
638
639
640
641
642
643
644
 
 
 
 
 
 
645
646
647
 
629
630
631
 
 
 
 
 
632
633
634
635
636
637
638
 
 
 
 
 
 
639
640
641
642
643
644
645
646
647
@@ -629,19 +629,19 @@
  dlg.set_transient_for(None)     - def update_by_row(self, row): - branch = row[M_NAME] - rev = cmdutil.revrange(self.repo, [branch]) - parents = [x.node() for x in self.repo.parents()] - dialog = update.UpdateDialog(rev[0]) + def update_by_row(self, row): + branch = row[M_NAME] + rev = cmdutil.revrange(self.repo, [branch]) + parents = [x.node() for x in self.repo.parents()] + dialog = update.UpdateDialog(rev[0])   self.show_dialog(dialog)   self.update_completed(parents) - - def update_completed(self, oldparents): - self.repo.invalidate() - self.repo.dirstate.invalidate() - newparents = [x.node() for x in self.repo.parents()] - if not oldparents == newparents: + + def update_completed(self, oldparents): + self.repo.invalidate() + self.repo.dirstate.invalidate() + newparents = [x.node() for x in self.repo.parents()] + if not oldparents == newparents:   self.emit('repo-invalidated')     def cmd_done(self, returncode, useraborted, noemit=False):