common/abbrev.stc
author Jan Vrany <jan.vrany@labware.com>
Fri, 19 Feb 2021 08:29:41 +0000
changeset 924 4d92f234f671
parent 909 993b38cb97dd
permissions -rw-r--r--
Rework and fix HGSourceCodeManager >> #revisionLogOf:...directory:module:` This commit changes the logic in two ways: 1. #newestRevision is now the newest revision in the branch that *contains* given file (not necesarily modidfes it). If there are multiple heads in that branch, pretty much random one is returned. This changes old behavior and therefore this commit updates tests. 2. If a specific single revision is requested, i.e., both from and to revisions are the same, revision log with that single revision is returned no matter whether it modifies the file or even contains that file at all. This is essentially a workaround to fix issue #305. Moreover, this commit simplifies the code a lot by delegating all the changeset searching and filtering to mercurial using revset expressions. See https://swing.fit.cvut.cz/projects/stx-jv/ticket/305#comment:3

# automagically generated by the project definition
# this file is needed for stc to be able to compile modules independently.
# it provides information about a classes filename, category and especially namespace.
SCMAbstractDialog SCMAbstractDialog stx:libscm/common 'SCM-Common-StX-Interface' 2
SCMAbstractPackageModel SCMAbstractPackageModel stx:libscm/common 'SCM-Common-StX' 0
SCMAbstractPackageWorkingCopyRegistry SCMAbstractPackageWorkingCopyRegistry stx:libscm/common 'SCM-Common-StX' 1
SCMAbstractRevisionInfo SCMAbstractRevisionInfo stx:libscm/common 'SCM-Common-StX' 0
SCMAbstractSourceCodeManager SCMAbstractSourceCodeManager stx:libscm/common 'SCM-Common-StX' 2
SCMAbstractTask SCMAbstractTask stx:libscm/common 'SCM-Common-StX-Tasks' 0
SCMCodeMonitor SCMCodeMonitor stx:libscm/common 'SCM-Common-StX' 0
SCMCommonPackageModelGroup SCMCommonPackageModelGroup stx:libscm/common 'SCM-Common-StX' 0
SCMCommonSourceCodeManagerUtilities SCMCommonSourceCodeManagerUtilities stx:libscm/common 'SCM-Common-StX' 0
SCMCompatModeQuery SCMCompatModeQuery stx:libscm/common 'SCM-Common-StX' 1
SCMCopyrightLine SCMCopyrightLine stx:libscm/common 'SCM-Common-StX-Tools' 0
SCMCopyrightUpdater SCMCopyrightUpdater stx:libscm/common 'SCM-Common-StX-Tools' 0
SCMError SCMError stx:libscm/common 'SCM-Common-StX-Exceptions' 1
SCMMergeTool SCMMergeTool stx:libscm/common 'SCM-Common-StX-Tools' 0
SCMMergeToolStartup SCMMergeToolStartup stx:libscm/common 'SCM-Common-StX-Tools' 1
SCMWarning SCMWarning stx:libscm/common 'SCM-Common-StX-Exceptions' 1
stx_libscm_common stx_libscm_common stx:libscm/common '* Projects & Packages *' 3
SCMAbstractCommitDialog SCMAbstractCommitDialog stx:libscm/common 'SCM-Common-StX-Interface' 2
SCMAbstractFileoutLikeTask SCMAbstractFileoutLikeTask stx:libscm/common 'SCM-Common-StX-Tasks' 0
SCMAbstractPackageRevision SCMAbstractPackageRevision stx:libscm/common 'SCM-Common-StX' 0
SCMAbstractPackageWorkingCopy SCMAbstractPackageWorkingCopy stx:libscm/common 'SCM-Common-StX' 0
SCMPackageModelError SCMPackageModelError stx:libscm/common 'SCM-Common-StX-Exceptions' 1
SCMPackageModelWarning SCMPackageModelWarning stx:libscm/common 'SCM-Common-StX-Exceptions' 1
SCMAbstractCommitTask SCMAbstractCommitTask stx:libscm/common 'SCM-Common-StX-Tasks' 0