##// END OF EJS Templates
applyupdates: assign variable before we try to use it (issue3855)...
Kevin Bullock -
r18780:0705ad73 default
parent child Browse files
Show More
@@ -471,11 +471,11 b' def applyupdates(repo, actions, wctx, mc'
471 f, m, args, msg = a
471 f, m, args, msg = a
472 progress(_updating, z + i + 1, item=f, total=numupdates, unit=_files)
472 progress(_updating, z + i + 1, item=f, total=numupdates, unit=_files)
473 if m == "m": # merge
473 if m == "m": # merge
474 f2, fd, move = args
474 if fd == '.hgsubstate': # subrepo states need updating
475 if fd == '.hgsubstate': # subrepo states need updating
475 subrepo.submerge(repo, wctx, mctx, wctx.ancestor(mctx),
476 subrepo.submerge(repo, wctx, mctx, wctx.ancestor(mctx),
476 overwrite)
477 overwrite)
477 continue
478 continue
478 f2, fd, move = args
479 audit(fd)
479 audit(fd)
480 r = ms.resolve(fd, wctx, mctx)
480 r = ms.resolve(fd, wctx, mctx)
481 if r is not None and r > 0:
481 if r is not None and r > 0:
General Comments 0
You need to be logged in to leave comments. Login now