X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/7cc615f31f10b3b5434f427c09a10a7dbbdd62db..1780280ce740fd36b032ef6fc42feb34d1dd272b:/stgit/commands/common.py diff --git a/stgit/commands/common.py b/stgit/commands/common.py index e437111..8084cbd 100644 --- a/stgit/commands/common.py +++ b/stgit/commands/common.py @@ -96,7 +96,7 @@ def check_head_top_equal(): ' are doing, use the "refresh -f" command' def check_conflicts(): - if os.path.exists(os.path.join(git.base_dir, 'conflicts')): + if os.path.exists(os.path.join(git.get_base_dir(), 'conflicts')): raise CmdException, 'Unsolved conflicts. Please resolve them first' def print_crt_patch(branch = None): @@ -130,7 +130,7 @@ def resolved_all(reset = None): if conflicts: for filename in conflicts: resolved(filename, reset) - os.remove(os.path.join(git.base_dir, 'conflicts')) + os.remove(os.path.join(git.get_base_dir(), 'conflicts')) def name_email(address): """Return a tuple consisting of the name and email parsed from a