2d4003 Fix two bugs in view_file

Authored and Committed by Pierre-Yves Chibon 11 years ago
    Fix two bugs in view_file
    
    - Try retrieving the commit using the identifier provided
    - Set the correct branchname according to commit retrieved
        
file modified
+3 -2