equal
deleted
inserted
replaced
200 |
200 |
201 |
201 |
202 def applyvariants(revset, variant): |
202 def applyvariants(revset, variant): |
203 if variant == 'plain': |
203 if variant == 'plain': |
204 return revset |
204 return revset |
205 return '%s(%s)' % (variant, revset) |
205 for var in variant.split('+'): |
|
206 revset = '%s(%s)' % (var, revset) |
|
207 return revset |
206 |
208 |
207 |
209 |
208 parser = OptionParser(usage="usage: %prog [options] <revs>") |
210 parser = OptionParser(usage="usage: %prog [options] <revs>") |
209 parser.add_option("-f", "--file", |
211 parser.add_option("-f", "--file", |
210 help="read revset from FILE (stdin if omitted)", |
212 help="read revset from FILE (stdin if omitted)", |