วันจันทร์, สิงหาคม 19, 2556

OS X: Using (downgrade) Subversion 1.7 with macports on OS X 10.8

    With the latest update port 2.2.0 it came with subversion 1.8 which I don't need it right now. After googling for a while, here's how to downgrade.


$port installed subversionThe following ports are currently installed:
  subversion @1.7.8_1
  subversion @1.7.8_2
  subversion @1.7.9_1
  subversion @1.7.10_1
  subversion @1.8.1_3 (active)

$port installed subversion-*The following ports are currently installed:
  subversion-javahlbindings @1.7.9_0
  subversion-javahlbindings @1.7.10_0
  subversion-javahlbindings @1.8.1_2 (active)

$port installed serf*The following ports are currently installed:
  serf1 @1.1.1_0
  serf1 @1.2.0_0
  serf1 @1.2.0_0+universal
  serf1 @1.2.1_0+universal
  serf1 @1.3.1_0 (active)
  serf1 @1.3.1_0+universal


** If there's not serf1 installed, execute "sudo port install serf1" to install it.


Execute this command to downgrade to Subversion 1.7 with java-hl support
$sudo port activate subversion @1.7.10_1 subversion-javahlbindings @1.7.10_0 serf1 @1.2.0_0

note: the version number might different than mine.



To check if we already able to use subversion 1.7 ; execute this command

$svn help | lessusage: svn <subcommand> [options] [args]
Subversion command-line client, version 1.7.10.

Type 'svn help <subcommand>' for help on a specific subcommand.

Reference: comment#1 in downgrading-subversion-from-1-8-to-1-7-in-macports