Commits

Author Commit Message Labels Comments Date
Michael Gatto
* Uses new Exception constant.
Michael Gatto
* Refactored 'container' to 'hg' since it indeed represents the base hg object and we've reconsidered what to call a 'container' (i.e. = repository, bundle, etc).
Michael Gatto
* Employs new exception error constants as other classes already do. * Lots of great docstring edits to make them more accurate.
Michael Gatto
* Added error constants and messages for more structured and consistent handline and error output. * Remove HG Keyword: its useless and just forces a state change in the file after committing.
Michael Gatto
* Remove HG Keyword: its useless and just forces a state change in the file after committing.
Michael Gatto
* Added output codes (unused at present). * Fixed __toString so it returns instead of dumping. * Cleaned up some comments. * Made signature conform to Interface's. * Used private property to get command string instead of an accessor, since it seems more efficient and the accessor does nothing other than simply return the property.
Michael Gatto
* Having setContainer() in the interface when its only defined in Command/Abstract.php makes no sense. * Remove HG Keyword: its useless and just forces a state change in the file after committing.
Michael Gatto
* __toString() will now return an empty string if the repository's path is null, since this magic function throws an error if it returns anything except a string.
Michael Gatto
* Fixed error with setPath()'s signature.
Michael Gatto
* We're pasing an instance of VersionControl_Hg down to Repository and Executable, again.
Michael Gatto
* Updated test suite.
Michael Gatto
* Seems that I do not need to include it explicitly...
Michael Gatto
* Remove HG Keyword: its useless and just forces a state change in the file after committing.
Michael Gatto
* Extending the base package exception kind of needs me to include it.
Michael Gatto
* Changed visibility of is_repository() to protected since it should not be part of the public API, but we want inherited classes like Branch, etc to possibly access it.
Michael Gatto
* Removed @TODO since it was implemented.
Michael Gatto
* Remove HG Keyword: its useless and just forces a state change in the file after committing.
Michael Gatto
* Removed extra DIRECTORY_SEPARATOR from auto-discovery results.
Michael Gatto
* Remove HG Keyword: its useless and just forces a state change in the file after committing.
Michael Gatto
* Moved repository logic from the base class and enforce VersionControl_Hg_Container_Repository to handle all repo actions.
Michael Gatto
* Refactoring to add underscores to private/protected properties and to trigger better exceptions.
Michael Gatto
* Lots of rethinking and refactoring: - virtual properties should return objects: $hg->executable is instance of VersionControl_Hg_Executable; - no more proxying methods: getExecutable() is no more. All calls to executable stuff should go directly to its class via using magic methods like __get, __set and __call.
Michael Gatto
* Array notation was accidentally replaced by function brackets.
Michael Gatto
* We no longer need a hard-coded listing of install locations since we search the host machine's PATH variable, which is much better to accomodate a large variety of heterogenous situations/installs/OSs.
Michael Gatto
* Made some mutators protected. * Documentation additions and clean-ups. * Added chaining ability after a public call to setExecutable().
Michael Gatto
* Clean up how we handle Exception messages. * General neatening up, as well.
Michael Gatto
* '__get()' implementation modified to call an accessor of format: getXyz().
Michael Gatto
* Promoted Executable to root of project, since it made no sense to locate it within 'Container'. * Added custom exception for the Exeecutable, as all proper root objects should :-)
Michael Gatto
* Better constructor which calls a mutator for further logic processing. * Better use of more customized exception classes rather than just Php's base Exception class. * '__get()' implemented so we can call properties at the root class-level instead of always calling accessor functions.
Michael Gatto
*Added magic method: '__toString()' so we can print the executable's path, easy style, man!
  1. Prev
  2. Next