##// END OF EJS Templates
auto-upgrade: add a test case with no permission to lock the repository...
marmoute -
r50091:1c233af9 default
parent child Browse files
Show More
@@ -2061,3 +2061,18 b' For multiple change at the same time'
2061 tracked-hint: no
2061 tracked-hint: no
2062 share-safe: yes
2062 share-safe: yes
2063
2063
2064 Attempting Auto-upgrade on a read-only repository
2065 -------------------------------------------------
2066
2067 $ chmod -R a-w auto-upgrade
2068
2069 $ hg status -R auto-upgrade \
2070 > --config format.use-dirstate-v2.automatic-upgrade-of-mismatching-repositories=yes \
2071 > --config format.use-dirstate-v2=no
2072 abort: could not lock working directory of auto-upgrade: Permission denied
2073 [20]
2074 $ hg debugformat -R auto-upgrade | grep dirstate-v2
2075 dirstate-v2: yes
2076
2077 $ chmod -R u+w auto-upgrade
2078
General Comments 0
You need to be logged in to leave comments. Login now