Skip to content

Commit

Permalink
bug fix: --hg option was not recognised. Partially fixes github issue #…
Browse files Browse the repository at this point in the history
  • Loading branch information
ftilmann committed Apr 3, 2017
1 parent 1340433 commit eff7699
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions latexdiff-vc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
# TODO/IDEAS: - option to call external pre-processing codes
# - choose type of latex processor / bibtex (luatex, xelatex etc)
# version 1.2.1:
# - bug fix: --hg option was not recognised (partially fixes github issue #93 )
# - wrap passed-through options to latexdiff in quotation marks (fix github issue #58 )
# - program names for latexdiff, latex, dvips, bibtex configurable (fixes issue #40)
#
Expand Down Expand Up @@ -161,6 +162,10 @@ if ( $git ) {
die "Cannot specify more than one of --cvs, --rcs, --svn --git or --hg." if ($vc);
$vc="GIT";
}
if ( $hg ) {
die "Cannot specify more than one of --cvs, --rcs, --svn --git or --hg." if ($vc);
$vc="HG";
}

if ( $pdf ) {
$CFG{LATEX} = "pdflatex";
Expand Down

0 comments on commit eff7699

Please sign in to comment.