##// END OF EJS Templates
use workingcontext.files() to detect if the repo is unclean
Benoit Boissinot -
r3581:be61bd32 default
parent child Browse files
Show More
@@ -392,7 +392,7 b' def update(repo, node, branchmerge, forc'
392 else:
392 else:
393 overwrite = True
393 overwrite = True
394 if branchmerge and not forcemerge:
394 if branchmerge and not forcemerge:
395 if wc.modified() or wc.added() or wc.removed():
395 if wc.files():
396 raise util.Abort(_("outstanding uncommitted changes"))
396 raise util.Abort(_("outstanding uncommitted changes"))
397
397
398 ### calculate phase
398 ### calculate phase
General Comments 0
You need to be logged in to leave comments. Login now