comparison hgsubversion/svncommands.py @ 1292:7bbe120be193

layouts: turn taglocations method into a property We no longer need to pass the meta path since we have an internal reference to the meta object, so we remove the parameter from the taglocations method.
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 24 Mar 2014 11:20:53 -0500
parents 5ee3e5030a35
children 5f80c92be718
comparison
equal deleted inserted replaced
1291:13f8e9cc90c6 1292:7bbe120be193
217 continue 217 continue
218 218
219 # find commitpath, write to revmap 219 # find commitpath, write to revmap
220 commitpath = revpath[len(subdir)+1:] 220 commitpath = revpath[len(subdir)+1:]
221 221
222 tag_locations = layoutobj.taglocations(meta.metapath) 222 tag_locations = layoutobj.taglocations
223 found_tag = False 223 found_tag = False
224 for location in tag_locations: 224 for location in tag_locations:
225 if commitpath.startswith(location + '/'): 225 if commitpath.startswith(location + '/'):
226 found_tag = True 226 found_tag = True
227 break 227 break