logo       
Google Custom Search
    AddThis Social Bookmark Button

svn commit: r1567 - branches/1.0.x/lib/viewvc.py: msg#00011

Subject: svn commit: r1567 - branches/1.0.x/lib/viewvc.py
Author: cmpilato
Date: 2007-04-03 20:07:46-0700
New Revision: 1567

Modified:
   branches/1.0.x/lib/viewvc.py

Log:
* lib/viewvc.py
  (redirect_pathrev): Automagically transform bogus input input into,
    essentially, "HEAD".

Modified: branches/1.0.x/lib/viewvc.py
Url: 
http://viewvc.tigris.org/source/browse/viewvc/branches/1.0.x/lib/viewvc.py?view=diff&rev=1567&p1=branches/1.0.x/lib/viewvc.py&p2=branches/1.0.x/lib/viewvc.py&r1=1566&r2=1567
==============================================================================
--- branches/1.0.x/lib/viewvc.py        (original)
+++ branches/1.0.x/lib/viewvc.py        2007-04-03 20:07:46-0700
@@ -1835,7 +1835,7 @@
   try:
     new_pathrev = int(new_pathrev)
   except ValueError:
-    pass
+    new_pathrev = youngest
   except TypeError:
     pass
   else:



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>