Show More
@@ -2523,7 +2523,7 b' def getlogrevs(repo, pats, opts):' | |||||
2523 | if not (revs.isdescending() or revs.istopo()): |
|
2523 | if not (revs.isdescending() or revs.istopo()): | |
2524 | revs.sort(reverse=True) |
|
2524 | revs.sort(reverse=True) | |
2525 | if expr: |
|
2525 | if expr: | |
2526 |
matcher = revset.match( |
|
2526 | matcher = revset.match(None, expr) | |
2527 | revs = matcher(repo, revs) |
|
2527 | revs = matcher(repo, revs) | |
2528 | if limit is not None: |
|
2528 | if limit is not None: | |
2529 | revs = revs.slice(0, limit) |
|
2529 | revs = revs.slice(0, limit) |
@@ -1252,6 +1252,16 b' User' | |||||
1252 |
|
1252 | |||
1253 | $ hg log -u "user3" |
|
1253 | $ hg log -u "user3" | |
1254 |
|
1254 | |||
|
1255 | "-u USER" shouldn't be overridden by "user(USER)" alias | |||
|
1256 | ||||
|
1257 | $ hg log --config 'revsetalias.user(x)=branch(x)' -u default | |||
|
1258 | $ hg log --config 'revsetalias.user(x)=branch(x)' -u user1 | |||
|
1259 | changeset: 0:29a4c94f1924 | |||
|
1260 | user: User One <user1@example.org> | |||
|
1261 | date: Thu Jan 01 00:00:00 1970 +0000 | |||
|
1262 | summary: a | |||
|
1263 | ||||
|
1264 | ||||
1255 | $ cd .. |
|
1265 | $ cd .. | |
1256 |
|
1266 | |||
1257 | $ hg init branches |
|
1267 | $ hg init branches |
General Comments 0
You need to be logged in to leave comments.
Login now