Scm/Repo.js
authorAlan Knowles <alan@roojs.com>
Tue, 13 Sep 2011 03:24:59 +0000 (11:24 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 13 Sep 2011 03:24:59 +0000 (11:24 +0800)
Scm/Repo.js

index 3aaab12..2115f5b 100644 (file)
@@ -184,9 +184,10 @@ Repo = XObject.define(
                     
                     // technically we should check it exists..
                     rev = ident;
+                    break;
                     var branches = this.getBranches();
                     
-                    for(var i in )
+                     
                     rev = typeof(branches[ident]) == 'undefined' ? false : branches[ident];
                     break;