diff options
author | Eric Wong <e@80x24.org> | 2017-02-16 20:53:42 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-02-16 20:53:42 +0000 |
commit | 1f34241e5dc94417d49e2c728e0f2ea04ddc39b0 (patch) | |
tree | 95b1944b3aeec0d34d3ee6d63b652fc51077b953 /lib/PublicInbox/RepoBase.pm | |
parent | f99f1c9f53c9d746f7223b457e386dbb20b57c07 (diff) | |
download | public-inbox-1f34241e5dc94417d49e2c728e0f2ea04ddc39b0.tar.gz |
This makes it more consistent with how we use the Inbox objects for the main code.
Diffstat (limited to 'lib/PublicInbox/RepoBase.pm')
-rw-r--r-- | lib/PublicInbox/RepoBase.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/RepoBase.pm b/lib/PublicInbox/RepoBase.pm index 668e9711..8c5f5c9d 100644 --- a/lib/PublicInbox/RepoBase.pm +++ b/lib/PublicInbox/RepoBase.pm @@ -10,7 +10,7 @@ sub new { bless {}, shift } sub call { my ($self, $cmd, $req) = @_; - my $vcs = $req->{repo_info}->{vcs}; + my $vcs = $req->{-repo}->{vcs}; my $rv = eval { no strict 'refs'; my $sub = "call_${vcs}_$cmd"; @@ -58,7 +58,7 @@ sub mime_type { # starts an HTML page for Repobrowse in a consistent way sub html_start { my ($self, $req, $title_html, $opts) = @_; - my $desc = $req->{repo_info}->desc_html; + my $desc = $req->{-repo}->desc_html; my $meta = ''; if ($opts) { |