# HG changeset patch # User Jan Vrany # Date 1381970297 -3600 # Node ID 4f4a12ecfc4f6db90d301528259c20d554982913 # Parent 6686fab3dda7a9ff49b49c48b0286b562c7e389a Re-added accidentically removed HGCommand::remove>>argumentsCommandOn:/force/force: diff -r 6686fab3dda7 -r 4f4a12ecfc4f mercurial/HGCommand.st --- a/mercurial/HGCommand.st Thu Oct 17 00:56:09 2013 +0100 +++ b/mercurial/HGCommand.st Thu Oct 17 01:38:17 2013 +0100 @@ -1492,6 +1492,14 @@ !HGCommand::remove methodsFor:'accessing'! +force + ^ force +! + +force:something + force := something. +! + paths ^ paths ! @@ -1502,6 +1510,22 @@ !HGCommand::remove methodsFor:'private'! +argumentsCommandOn:stream + "Called to get command specific options" + + force == true ifTrue:[ + stream nextPut: '-f'. + ]. + + paths isEmptyOrNil ifTrue:[ + self error: 'No paths given' + ]. + stream nextPutAll: paths + + "Created: / 15-11-2012 / 00:05:46 / Jan Vrany " + "Modified: / 11-10-2013 / 18:27:51 / Jan Vrany " +! + parseOutput:stream "Parses output of 'hg' command, i.e. commit, log, update, checkout, etc."