Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

pbranch: create the .hg/pbranch file if it does not exist yet

Changeset 1240dcadb580

Parent d0a9171a9d14

by Johan Samyn

Changes to one file · Browse files at 1240dcadb580 Showing diff from parent d0a9171a9d14 Diff from another changeset...

 
526
527
528
 
 
529
530
531
 
526
527
528
529
530
531
532
533
@@ -526,6 +526,8 @@
  def edit_pgraph_clicked(self):   opts = {} # TODO: How to find user ID   mgr = self.pbranch.patchmanager(self.repo.ui, self.repo, opts) + if not mgr.hasgraphdesc(): + self.pbranch.writefile(mgr.graphdescpath(), '')   oldtext = mgr.graphdesc()   # run editor in the repository root   olddir = os.getcwd()