Commits

Author Commit Message Labels Comments Date
Martin Vejnár
Locally modified Mercurial dependencies are now detected. 'hg depst' will now mark locally modified dependencies with 'L' modifier. Unless forced, 'hg depup' and 'hg depci' will abort in the presence of modified dependencies.
Martin Vejnár
Fixed: 'hg dep' will now pull the entire repository if 'tip' revision was specified.
Martin Vejnár
Allow depcommit only if there are no local modifications.
Martin Vejnár
Inverted the semantics of 'hg depci' with respect to '-C' option. It seems more logical to have 'hg depci' commit automatically, just like 'hg tag'.
Martin Vejnár
It is now possible to use tags as a target revision in 'dep' command. scm_*.fetch() returns translated revision, which is then used as a parameter to update.
Martin Vejnár
Fixed another hg-1.0 compatibility issue: RepoError is in mercurial.repo.
Martin Vejnár
Fixed: non-terminating _find_deplist.
Martin Vejnár
The null revision can now be assigned a dependency list as well.
Martin Vejnár
Small fixes to make hgdeps compatible with hg-1.0. - change contexts are retrived using mercurial.context module. - repo.lookup may raise LookupError in addition to RepoError - changectx.parents() behaves differenly with regard to null parents - added some more debug prints
Martin Vejnár
Dependency locations and arguments are now properly escaped when adding new.
Martin Vejnár
Added some documentation and fixed some typos.
Martin Vejnár
Updated the copyright notice.
Martin Vejnár
Added docstring for 'depstatus'.
Martin Vejnár
The unmodified dependencies in 'hg depst' are written only with -v option.
Martin Vejnár
Added 'hg depcommit --commit' option.
Martin Vejnár
Fixed _find_deplist to properly terminate at revision -1.
Martin Vejnár
Fixed crashes during 'hg depstatus' (due to incorrect revision translation).
Martin Vejnár
A failure to find a deplist no longer raises an exception. Normally a missing deplist should be considered to be empty. The only exception is depupdate, which can possibly report an error if the deplist name was given explicitly.
Martin Vejnár
Newly created hg repository is noew immediately recorded in depsmanifest. This way, the dependecy is properly tracked even if the requested revision is not found.
Martin Vejnár
Added 'hg depcommit' command. The command merely updates .hgdeps file. No actual commit is performed.
Martin Vejnár
Fixed: hg depst now prints readable revision numbers.
Martin Vejnár
Dependency revisions are now tracked in manifest file. This was necessary for proper support of 'cmd' repositories.
Martin Vejnár
The removed aliases are now only marked with '-' scmtype (fixing 'hg deprmalias').
Martin Vejnár
Fixed error reporting related to invalid or mismatched scm types.
Martin Vejnár
The .hgdeps file is now loaded from repo heads. The tip is read the last. The local .hgdeps file is only read if it was modified. When reading a file, existing sections are entirely replaced by new sections, with the exception of the 'aliases' section. New aliases replace existing aliases. Note, that 'hg deprmalias' doesn't currently work as expected, since the removed alias can possibly be imported from another source.
Martin Vejnár
Added 'hg depst' command to check the current status of dependencies.
Martin Vejnár
Added 'hg depupdate' command. The command is an extension of the original 'hg depsclone'. The REV parameter may be omitted, in which case the .hgdeps file is searched for a revision number representing the nearest ancestor of the current revision. Additionaly, the command properly tracks the positions and types of the fetched dependencies.
Martin Vejnár
Added support for 'cmd' repository type. The 'cmd' scmtype can be used for non-mercurial dependencies. It is also the type of aliases that are defined in hgrc and have the alias.command option specified.
Martin Vejnár
Added commands for direct manipulation of dependencies (dep, deprm, deppurge). Using these commands, dependencies can be fetches, moved aroud and deleted. The extension keeps track of existing dependencies by saving their positions to .hg/depsmanifest file. The dep command does only partial pull when a new version is requested. Therefore, fetching by tags dosn't work well. Other commands are not modified, notably depsclone.
Martin Vejnár
Added new commands: depalias, depaliases, deprmalias.
  1. Prev
  2. Next