mercurial/bmake.bat
author Jan Vrany <jan.vrany@labware.com>
Fri, 19 Feb 2021 08:29:41 +0000
changeset 924 4d92f234f671
parent 808 ae9fdbfa8ba4
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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
34
0ef61b36cfa7 - First bits
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
     1
@REM -------
313
7b5382624fb9 Build files regenerated...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 309
diff changeset
     2
@REM make using Borland bcc32
34
0ef61b36cfa7 - First bits
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
     3
@REM type bmake, and wait...
0ef61b36cfa7 - First bits
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
     4
@REM do not edit - automatically generated from ProjectDefinition
0ef61b36cfa7 - First bits
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
     5
@REM -------
313
7b5382624fb9 Build files regenerated...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 309
diff changeset
     6
@SET DEFINES=
576
e1e0ef5ceb6f Fixed repository sharing for Mercurial < 3.3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 562
diff changeset
     7
@REM Kludge got Mercurial, cannot be implemented in Borland make
e1e0ef5ceb6f Fixed repository sharing for Mercurial < 3.3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 562
diff changeset
     8
@FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i
e1e0ef5ceb6f Fixed repository sharing for Mercurial < 3.3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 562
diff changeset
     9
@IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"
562
e694ffae649b Added support to user shared repositories instead to temporary clones when commiting.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 313
diff changeset
    10
313
7b5382624fb9 Build files regenerated...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 309
diff changeset
    11
make.exe -N -f bc.mak  %DEFINES% %*
34
0ef61b36cfa7 - First bits
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    12
0ef61b36cfa7 - First bits
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    13
808
ae9fdbfa8ba4 Initial support of obsolete changesets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 576
diff changeset
    14
ae9fdbfa8ba4 Initial support of obsolete changesets
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 576
diff changeset
    15