commit | 5d5619d6620bc531d0d328ad354deedd7845b942 | [log] [download] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Fri Apr 18 17:01:45 2014 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Fri Apr 18 17:01:45 2014 -0700 |
tree | 18609cbdabc36aa93401371d756c859640436429 | |
parent | 87cbb2518036439380c870d986b8a3649c74333b [diff] |
Redirect to normalized versions of parent revision expressions Repeatedly clicking the "parent" link in a commit page can result in amusing but unhelpful URLs like "/+/master^^^^^^^^^^^^". Avoid such URLs by detecting when a revision is a parent expression, and sending a 302 redirect to the absolute revision. Change-Id: I8aec460a99eba581052e0319069eacd8f3e2e743