Commit a8024fd8 by sikang

update script

parent e34b384c
...@@ -80,7 +80,12 @@ class Shell: ...@@ -80,7 +80,12 @@ class Shell:
@staticmethod @staticmethod
def reset_by_pkgname(config): def reset_by_pkgname(config):
pkgname = input("输入包名: ") pkgname = input("输入包名: ")
os.system("git log --grep %s"% pkgname) command = "%s\n%s" \
% (
"cd %s" % config['root'],
"git log --grep %s"% pkgname
)
os.system(command)
print(" ") print(" ")
commit_id = input("输入commit id: ") commit_id = input("输入commit id: ")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment