# HG changeset patch # User Simon Heimberg <sim...@besonet.ch> # Date 1248273681 -7200 # Node ID 3a90036ad0008122ef6c02e37af848f3afad09fc # Parent ec1dbc16820cf15f8a0261f534ac341341b73350 hgtk: delete compatibility code for Mercurail < 1.3
diff -r ec1dbc16820c -r 3a90036ad000 hggtk/hgtk.py --- a/hggtk/hgtk.py Don Jul 09 11:00:53 2009 +0200 +++ b/hggtk/hgtk.py Mit Jul 22 16:41:21 2009 +0200 @@ -226,7 +226,7 @@ path = paths.find_root(os.getcwd()) if path: try: - lui = hasattr(_ui, 'copy') and _ui.copy() or _ui.ui(ui) + lui = ui.copy() lui.readconfig(os.path.join(path, ".hg", "hgrc")) except IOError: pass ------------------------------------------------------------------------------ _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop