Bugfix in HGWorkingCopy>>commit:...
authorJan Vrany <jan.vrany@fit.cvut.cz>
Sat, 09 Mar 2013 11:17:38 +0000
changeset 252 b4e6ef5c5be9
parent 251 8ad8b1147873
child 253 c5e46e893f26
Bugfix in HGWorkingCopy>>commit:... Reflect user specified by an argument.
mercurial/HGWorkingCopy.st
--- a/mercurial/HGWorkingCopy.st	Fri Mar 08 22:36:15 2013 +0000
+++ b/mercurial/HGWorkingCopy.st	Sat Mar 09 11:17:38 2013 +0000
@@ -246,7 +246,8 @@
 
     | author |
 
-    authorOrNil isNil ifTrue:[
+    author := authorOrNil.
+    author isNil ifTrue:[
         author := HGAuthorQuery query.
         author isNil ifTrue:[
             author := repository config get: #(ui username) default: nil.