##// END OF EJS Templates
tests: pass parent revision as integer to repo[x] in test-context-metadata.t...
Martin von Zweigbergk -
r37870:8327fd79 default
parent child Browse files
Show More
@@ -23,7 +23,7 b' Tests about metadataonlyctx'
23 > old = repo[b'.']
23 > old = repo[b'.']
24 > kwargs = dict(s.split(b'=', 1) for s in arg.split(b';'))
24 > kwargs = dict(s.split(b'=', 1) for s in arg.split(b';'))
25 > if 'parents' in kwargs:
25 > if 'parents' in kwargs:
26 > kwargs[b'parents'] = kwargs[b'parents'].split(b',')
26 > kwargs[b'parents'] = map(int, kwargs[b'parents'].split(b','))
27 > new = context.metadataonlyctx(repo, old,
27 > new = context.metadataonlyctx(repo, old,
28 > **pycompat.strkwargs(kwargs))
28 > **pycompat.strkwargs(kwargs))
29 > new.commit()
29 > new.commit()
General Comments 0
You need to be logged in to leave comments. Login now