Changeset 1240dcadb580…
Parent d0a9171a9d14…
by
Changes to one file · Browse files at 1240dcadb580 Showing diff from parent d0a9171a9d14 Diff from another changeset...
@@ -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()
|
Loading...