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

thgpbranch: Allow .hg/pgraph to contain unknown branches

Changeset f598e68cb011

Parent 7081aeb0452f

by Peer Sommerlund

Changes to one file · Browse files at f598e68cb011 Showing diff from parent 7081aeb0452f Diff from another changeset...

 
375
376
377
378
 
 
379
380
381
382
 
 
 
 
383
384
385
 
375
376
377
 
378
379
380
381
382
 
383
384
385
386
387
388
389
@@ -375,11 +375,15 @@
    :param patch_name: Name of patch-branch   :retv: Full patch message. If you extract the first line - you will get the patch title. + you will get the patch title. If the repo does not contain + message or patch, the function returns None   """   opts = {}   mgr = self.pbranch.patchmanager(self.repo.ui, self.repo, opts) - return mgr.patchdesc(patch_name) + try: + return mgr.patchdesc(patch_name) + except: + return None     def peditmessage(self, patch_name):   """