mercurial/HGInvalidVersionError.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 21 Feb 2014 10:47:49 +0000
changeset 378 5c36325d6f60
child 411 858944cebec4
permissions -rw-r--r--
Better `hg` command configuration handling and validation. `hg` command preference had to be a full path to `hg` binary, though not explicitly stated anywhere. Moreover, settings dialog did not check for this which lead to error later when a command was about execute. `HGCommand` now does a proper validation of configured binary and raises more descriptive errors - see `HGCommand class>>hgCommandValidate:` HGSourceCodeManagementSettingsAppl` also performs these checks and warn user if something's wrong. Thanks to Frank Urbach for spotting this.

"
stx:libscm - a new source code management library for Smalltalk/X
Copyright (C) 2012-2013 Jan Vrany

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License. 

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
"
"{ Package: 'stx:libscm/mercurial' }"

HGCommandError subclass:#HGInvalidVersionError
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'SCM-Mercurial-Exceptions'
!

!HGInvalidVersionError class methodsFor:'documentation'!

copyright
"
stx:libscm - a new source code management library for Smalltalk/X
Copyright (C) 2012-2013 Jan Vrany

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License. 

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
"
! !