NLS_DATE_FORMAT=DD-MON-YYYY
NLS_LANG=AMERICAN_AMERICA.AL32UTF8Then start SQL*Plus:C:\>sqlplus / as sysdba
SQL> select sysdate from dual;
SYSDATE
--------------------
28-MAR-2009
NLS_DATE_FORMAT=DD-MON-YYYY
NLS_LANG=AMERICAN_AMERICA.AL32UTF8Then start SQL*Plus:C:\>sqlplus / as sysdba
SQL> select sysdate from dual;
SYSDATE
--------------------
28-MAR-2009
hg convert --config convert.hg.tagsbranch=0 http://marshal.com/trunk/project1But there seemed a bug in Hg when the SVN requires HTTP authorization - even the user and password were correct it still could not pass through:Best match: hgsvn 0.1.6# svn not installed by defaultsudo apt-get install subversion# easy_install not included in Python package by defaultsudo apt-get install python-setuptools# download & install hgsvnsudo easy_install hgsvn
hgimportsvn http://marshal.com/trunk/project1* svn 'info' '--xml' 'http://marshal.com/trunk/project1'svn info http://marshal.com/trunk/project1And key in the user name/password there, it passed.hgimportsvn http://marshal.com/trunk/project1This will import SVN's project1 into current directory and no authorization required any more.cd project1
hgpullsvnpulls all SVN history. Then the daily use of mercurial starts...$ ssh-keygen -t rsaAssign the pass phrase (press [enter] key twice if you don't want a passphrase). It will create 2 files in ~/.ssh directory as follows:mv id_rsa.pub authorized_keys $ sudo /etc/init.d/ssh restart$ ssh-keygen -pEnter file in which the key is (id_rsa):...#!/bin/bash
listAll() {
local f
local i=$1
for f in `ls -1`; do # 1 file per line
if [ -f "$f" ]; then
indent $i
echo "|- $f"
if [ "$COMMAND" != "" ]; then
IFS=$oIFS
$COMMAND "$f"
IFS=$nIFS
fi
elif [ -d "$f" ]; then
indent $i
echo "+- $f"
let i+=$INDENTS
cd "$f"
listAll $i
cd ..
let i-=$INDENTS
fi
done
}
indent() {
local i=0
while (( i < $1 )) # or: while [ i -lt $1 ]
do
echo -n " "
let i+=1
done
}
echo "Usage: shred-tree [-u]"
echo "-u: shred; otherwise just list"
echo
if [ "$1" = "-u" ]; then
COMMAND="" # put your command here, eg. ls -l
fi
# space delimitered:
oIFS=$IFS
# \n delimitered:
nIFS='
'
IFS=$nIFS # For file names containing spaces
INDENTS=3
listAll 0
TortoiseHg> TortoisePlink.exe
The system cannot execute the specified program.
So you have to install Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) according to TortoiseHg FAQ. But even you have done that, it seems that TortoisePlink does not support private key for SSH well.; In order to push/pull over ssh you must specify a ssh tool
;ssh = "C:\TortoiseHg\TortoisePlink.exe" -ssh -2
ssh = "C:\Putty0.6\Plink.exe" -ssh -2 -i "C:\key\ubuntu-1.ppk"
Then right click->TortoiseHG->Clone a Repository->Source Path, input something likessh://root@192.168.10.1//home/env/mercurial/open-source/openJDK
Then click "clone", it works without a hitch.apt-get install build-essential python-dev
tar xvf mercurial-1.0.2.tar.gz
cd mercurial-1.0.2
make installTo verify,hg debuginstallHopefully, you'll see