mercurial/bmake.bat
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 08 Jan 2019 09:35:11 +0000
changeset 866 8a885a75daa9
parent 808 ae9fdbfa8ba4
permissions -rw-r--r--
Issue 256: fix parsing branch name from changelog To retrieve a branch of an changeset, `stx:libscm` uses `{branch}` branch keyword and then parses it as "name list". However, according to documentation it is a single string: branch String. The name of the branch on which the changeset was committed. This obviously caused problems when branch name had spaces in it. This commit fixes the problem. One remaining thing is that `stx:libscm` technically allows a changeset to be in more than one branch which seems to be impossible in Mercurial itself. This should be investigated and fixed, eventually.
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