Doing a one-click merge of a very large repo can potentially cause problems if the working dir is bigger than the tmp dir mount supports.
def mergecan use a try/finally so that
shutil.rmtreealways runs even if the clone fails (e.g. out of disk space)
_shared_clone) so the object files don't have to get copied, reducing disk usage and execution time.
It'd be nice if we could set a max size limit and check that in
merge_allowed but it doesn't seem to be a way to check the size of a working copy ahead of time. There is
git count-objects -vH but that's just the repo size, not the working copy.
Log in to post a comment.