mercurial/libInit.cc
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 21 Feb 2014 10:47:49 +0000
changeset 378 5c36325d6f60
parent 342 3a4b76932414
child 395 fc0607653d8a
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.

/*
 * $Header$
 *
 * DO NOT EDIT
 * automagically generated from the projectDefinition: stx_libscm_mercurial.
 */
#define __INDIRECTVMINITCALLS__
#include <stc.h>

#ifdef WIN32
# pragma codeseg INITCODE "INITCODE"
#endif

#if defined(INIT_TEXT_SECTION) || defined(DLL_EXPORT)
DLL_EXPORT void _libstx_libscm_mercurial_Init() INIT_TEXT_SECTION;
DLL_EXPORT void _libstx_libscm_mercurial_InitDefinition() INIT_TEXT_SECTION;
#endif

void _libstx_libscm_mercurial_InitDefinition(pass, __pRT__, snd)
OBJ snd; struct __vmData__ *__pRT__; {
__BEGIN_PACKAGE2__("libstx_libscm_mercurial__DFN", _libstx_libscm_mercurial_InitDefinition, "stx:libscm/mercurial");
_stx_137libscm_137mercurial_Init(pass,__pRT__,snd);

__END_PACKAGE__();
}

void _libstx_libscm_mercurial_Init(pass, __pRT__, snd)
OBJ snd; struct __vmData__ *__pRT__; {
__BEGIN_PACKAGE2__("libstx_libscm_mercurial", _libstx_libscm_mercurial_Init, "stx:libscm/mercurial");
_HG2CVS_Init(pass,__pRT__,snd);
_HGAuthorQuery_Init(pass,__pRT__,snd);
_HGCachedFileData_Init(pass,__pRT__,snd);
_HGChange_Init(pass,__pRT__,snd);
_HGChangesetFile_Init(pass,__pRT__,snd);
_HGChangesetId_Init(pass,__pRT__,snd);
_HGCommandParser_Init(pass,__pRT__,snd);
_HGCommitDialog_Init(pass,__pRT__,snd);
_HGCommitTask_Init(pass,__pRT__,snd);
_HGDebugFlags_Init(pass,__pRT__,snd);
_HGError_Init(pass,__pRT__,snd);
_HGIconLibrary_Init(pass,__pRT__,snd);
_HGMergeInfo_Init(pass,__pRT__,snd);
_HGMergeTool_Init(pass,__pRT__,snd);
_HGNotification_Init(pass,__pRT__,snd);
_HGPackageModel_Init(pass,__pRT__,snd);
_HGPackageModelRegistry_Init(pass,__pRT__,snd);
_HGPushPullInfo_Init(pass,__pRT__,snd);
_HGRepositoryObject_Init(pass,__pRT__,snd);
_HGRevisionAnnotation_Init(pass,__pRT__,snd);
_HGRevisionInfo_Init(pass,__pRT__,snd);
_HGSourceCodeManagementSettingsAppl_Init(pass,__pRT__,snd);
_HGSourceCodeManager_Init(pass,__pRT__,snd);
_HGStatus_Init(pass,__pRT__,snd);
_HGWarning_Init(pass,__pRT__,snd);
_HGWorkingCopyFile_Init(pass,__pRT__,snd);
_stx_137libscm_137mercurial_Init(pass,__pRT__,snd);
_HGBranch_Init(pass,__pRT__,snd);
_HGChangeset_Init(pass,__pRT__,snd);
_HGCommand_Init(pass,__pRT__,snd);
_HGCommandError_Init(pass,__pRT__,snd);
_HGCommandServer_Init(pass,__pRT__,snd);
_HGCommitError_Init(pass,__pRT__,snd);
_HGConfig_Init(pass,__pRT__,snd);
_HGNoSuchBranchError_Init(pass,__pRT__,snd);
_HGRemote_Init(pass,__pRT__,snd);
_HGRepository_Init(pass,__pRT__,snd);
_HGRepositoryError_Init(pass,__pRT__,snd);
_HGWorkingCopy_Init(pass,__pRT__,snd);
_HGCommandParseError_Init(pass,__pRT__,snd);
_HGInvalidExecutableError_Init(pass,__pRT__,snd);
_HGInvalidVersionError_Init(pass,__pRT__,snd);
_HGPushError_Init(pass,__pRT__,snd);
_HGPushWouldCreateNewHeadError_Init(pass,__pRT__,snd);

_stx_137libscm_137mercurial_extensions_Init(pass,__pRT__,snd);
__END_PACKAGE__();
}