mercurial/monticello/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:
291
5213876de50a Initial support for Mercurial <--> Monticello interoperability.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     1
@REM -------
5213876de50a Initial support for Mercurial <--> Monticello interoperability.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     2
@REM make using Borland bcc32
5213876de50a Initial support for Mercurial <--> Monticello interoperability.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     3
@REM type bmake, and wait...
5213876de50a Initial support for Mercurial <--> Monticello interoperability.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     4
@REM do not edit - automatically generated from ProjectDefinition
5213876de50a Initial support for Mercurial <--> Monticello interoperability.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     5
@REM -------
5213876de50a Initial support for Mercurial <--> Monticello interoperability.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     6
@SET DEFINES=
576
e1e0ef5ceb6f Fixed repository sharing for Mercurial < 3.3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 563
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: 563
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: 563
diff changeset
     9
@IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"
563
6104cd9f44f1 Issue #19: Initial support for amending a commit
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 291
diff changeset
    10
291
5213876de50a Initial support for Mercurial <--> Monticello interoperability.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    11
make.exe -N -f bc.mak  %DEFINES% %*
5213876de50a Initial support for Mercurial <--> Monticello interoperability.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    12
5213876de50a Initial support for Mercurial <--> Monticello interoperability.
Jan Vrany <jan.vrany@fit.cvut.cz>
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