Mercurial > hg
comparison hgext/mq.py @ 13004:efbee27415ab
mq: clean up unused variable in qrefresh
Removes the unused variable `aa2` that holds the list of deleted files
returned from repo.status().
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Tue, 16 Nov 2010 13:06:04 -0600 |
parents | de6a28ff5ffc |
children | cffa35529706 |
comparison
equal
deleted
inserted
replaced
13003:876a931dd230 | 13004:efbee27415ab |
---|---|
1268 | 1268 |
1269 # update the dirstate in place, strip off the qtip commit | 1269 # update the dirstate in place, strip off the qtip commit |
1270 # and then commit. | 1270 # and then commit. |
1271 # | 1271 # |
1272 # this should really read: | 1272 # this should really read: |
1273 # mm, dd, aa, aa2 = repo.status(tip, patchparent)[:4] | 1273 # mm, dd, aa = repo.status(top, patchparent)[:4] |
1274 # but we do it backwards to take advantage of manifest/chlog | 1274 # but we do it backwards to take advantage of manifest/chlog |
1275 # caching against the next repo.status call | 1275 # caching against the next repo.status call |
1276 mm, aa, dd, aa2 = repo.status(patchparent, top)[:4] | 1276 mm, aa, dd = repo.status(patchparent, top)[:3] |
1277 changes = repo.changelog.read(top) | 1277 changes = repo.changelog.read(top) |
1278 man = repo.manifest.read(changes[0]) | 1278 man = repo.manifest.read(changes[0]) |
1279 aaa = aa[:] | 1279 aaa = aa[:] |
1280 matchfn = cmdutil.match(repo, pats, opts) | 1280 matchfn = cmdutil.match(repo, pats, opts) |
1281 # in short mode, we only diff the files included in the | 1281 # in short mode, we only diff the files included in the |