##// END OF EJS Templates
cmdutil: make commitforceeditor() to pass revision extras to ui.edit()
Alexander Drozdov -
r20604:4991cfc9 default
parent child Browse files
Show More
@@ -2008,7 +2008,7 b' def commitforceeditor(repo, ctx, subs):'
2008 # run editor in the repository root
2008 # run editor in the repository root
2009 olddir = os.getcwd()
2009 olddir = os.getcwd()
2010 os.chdir(repo.root)
2010 os.chdir(repo.root)
2011 text = repo.ui.edit("\n".join(edittext), ctx.user())
2011 text = repo.ui.edit("\n".join(edittext), ctx.user(), ctx.extra())
2012 text = re.sub("(?m)^HG:.*(\n|$)", "", text)
2012 text = re.sub("(?m)^HG:.*(\n|$)", "", text)
2013 os.chdir(olddir)
2013 os.chdir(olddir)
2014
2014
General Comments 0
You need to be logged in to leave comments. Login now