comparison hgext/largefiles/reposetup.py @ 41676:0531dff73d0b

match: delete unused root and cwd arguments from {always,never,exact}() (API) Differential Revision: https://phab.mercurial-scm.org/D5930
author Martin von Zweigbergk <martinvonz@google.com>
date Sat, 09 Feb 2019 22:50:53 -0800
parents 61888bd0b300
children aaad36b88298
comparison
equal deleted inserted replaced
41675:ddbebce94665 41676:0531dff73d0b
101 ctx2 = self[node2] 101 ctx2 = self[node2]
102 working = ctx2.rev() is None 102 working = ctx2.rev() is None
103 parentworking = working and ctx1 == self['.'] 103 parentworking = working and ctx1 == self['.']
104 104
105 if match is None: 105 if match is None:
106 match = matchmod.always(self.root, self.getcwd()) 106 match = matchmod.always()
107 107
108 wlock = None 108 wlock = None
109 try: 109 try:
110 try: 110 try:
111 # updating the dirstate is optional 111 # updating the dirstate is optional