X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/1e78b00609d4d284f6316a328aa9b25c1cf2a254..170f576bb9eac1dafc139de7b51226d78d31cbbe:/stgit/commands/resolved.py diff --git a/stgit/commands/resolved.py b/stgit/commands/resolved.py index 585c51b..2c968d0 100644 --- a/stgit/commands/resolved.py +++ b/stgit/commands/resolved.py @@ -21,7 +21,7 @@ from optparse import OptionParser, make_option from stgit.commands.common import * from stgit.utils import * -from stgit import stack, git +from stgit import stack, git, basedir help = 'mark a file conflict as solved' @@ -65,8 +65,8 @@ def func(parser, options, args): # save or remove the conflicts file if conflicts == []: - os.remove(os.path.join(git.get_base_dir(), 'conflicts')) + os.remove(os.path.join(basedir.get(), 'conflicts')) else: - f = file(os.path.join(git.get_base_dir(), 'conflicts'), 'w+') + f = file(os.path.join(basedir.get(), 'conflicts'), 'w+') f.writelines([line + '\n' for line in conflicts]) f.close()