mercurial/__init__.py
author Simon Heimberg <simohe@besonet.ch>
Mon, 11 Nov 2013 22:59:26 +0100
changeset 20082 b04cc8651a63
parent 0 9117c6561b0b
child 27220 4374d819ccd5
permissions -rw-r--r--
localrepo: prevent to copy repo local config, copy baseui instead Copying a repos local configuration to another repo is a bad idea because the 2nd repo gets the configuration of the first. Prevent this by really calling repo.baseui.copy when repo.ui.copy is called. This requires some changes in commandserver which needs to clone repo.ui for rejecting temporary changes. This patch has its roots back in the topic "repo isolation" around f0564402d059 and was suggested by mpm.