# HG changeset patch # User Vesa Norilo # Date 1618072994 -10800 # Sat Apr 10 19:43:14 2021 +0300 # Node ID 82a51852bff48280369e4ba67aba884e3b1948c8 # Parent 51f312b89e7fe0c8d88d191b089ab1e9529e82e5 shallow clone initially diff --git a/couchbot.py b/couchbot.py --- a/couchbot.py +++ b/couchbot.py @@ -23,7 +23,7 @@ if not os.path.isdir(bot.local): os.makedirs(bot.local) - subprocess.check_call(["hg", "clone", bot.remote, bot.local]) + subprocess.check_call(["hg", "clone", "-r", "1", bot.remote, bot.local]) def popen_gen(cwd, args): arg_str = map(str, args)