Diffusion: rough cut of history view
Summary: Very very rough approximation of history view. I left out all the log parsing stuff for now since we should be able to just look it up in a Repository table and I think that'll be a bit faster, although we can muck around and see. Test Plan: Looked at history of a path Reviewed By: jwilson Reviewers: aran, jwilson CC: epriestley, jwilson Differential Revision: 66
This commit is contained in:
@@ -185,11 +185,19 @@ class AphrontDefaultApplicationConfiguration
|
||||
|
||||
'/diffusion/' => array(
|
||||
'$' => 'DiffusionHomeController',
|
||||
'(?P<callsign>[A-Z]+)/browse/'.
|
||||
'(?P<path>.*?)'.
|
||||
'(?:[;](?P<commit>[a-z0-9]+))?'.
|
||||
'(?:[$](?P<line>\d+))?$'
|
||||
=> 'DiffusionBrowseController',
|
||||
'(?P<callsign>[A-Z]+)' => array(
|
||||
'/history/'.
|
||||
'(?P<path>.*?)'.
|
||||
'(?:[;](?P<commit>[a-z0-9]+))?'.
|
||||
'$'
|
||||
=> 'DiffusionHistoryController',
|
||||
'/browse/'.
|
||||
'(?P<path>.*?)'.
|
||||
'(?:[;](?P<commit>[a-z0-9]+))?'.
|
||||
'(?:[$](?P<line>\d+))?'.
|
||||
'$'
|
||||
=> 'DiffusionBrowseController',
|
||||
),
|
||||
),
|
||||
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user