Archive for the 'Config Manage' Category


Get list of subversion (svn) changes in a branch

Oct 08, 2013 in Subversion


svn log --stop-on-copy [--quiet] [-v] http://[path-omitted]/[directory]

Getting subversion history by date range ..

Aug 29, 2012 in Config Manage, Subversion


svn log [url] -r {2008-09-19}:{2008-09-26} | tee svnlog.log

Subversion resolve ..

Oct 12, 2011 in Subversion

From :

svn resolve --accept working -R .

Undo a commit in subversion (revert a change, restore deleted folder) ..

Dec 01, 2010 in Subversion

svn delete blah

svn commit -m done
change 2212


2 ways:

1. with a working copy:

cd blah

svn merge -c -2212

See for more details:

2. without a working copy:

svn copy -r2212 -m ‘restore’

Note that the target folder should be “above” the folder you are trying to restore.

Subversion update dry-run ..

Sep 16, 2009 in Subversion


svn merge –dry-run -r BASE:HEAD .


svn status -u

This command will not show conflicts .

cvs administration with pserver notes..

Jun 26, 2009 in Config Manage, cvs

To check for cvs with pserver configuration:

  • – Check that xinetd is installed
  • – Check file /etc/xinetd.d/cvspserver
    It should look like this:

    service cvspserver
    port = 2401
    socket_type = stream
    protocol = tcp
    wait = no
    user = root
    passenv = PATH
    server = /usr/local/bin/cvs
    server_args = -f –allow-root=/opt/cvs pserver

  • – Check that cvsnt is where the xinetd file (above) says it is
    (/usr/local/bin/cvs in this example)
  • – Check the cvs path (/opt/cvs in this example)
  • $ telnet cvsserver 2401 (or whatever port is specified in /etc/xinet.d/cvspserver file)
  • – Check the cvs passwd file in /opt/cvs/cvsroot folder.
    It should have an entry for the user.
  • – If the user is not in the cvs passwd file (in example: /opt/cvs/cvsroot/passwd)
    add the user with:

    $ cvs passwd -a user (it will ask for a password)

See for more info.

Hudson continous integration server notes ..

Nov 20, 2008 in Apache, Config Manage

Fastest way to plug tomcat into apache httpd..

Change apache2.conf, add:

<Location /your_tomcat_app>
  ProxyPass ajp://your_host:8009/your_tomcat_app
  Order allow,deny
  allow from all

More notes on Hudson here:

Hudson is here:

Get the list of files in cvs commits..

Jul 12, 2008 in Config Manage, cvs

To get the list of files included in
a particular cvs commit use this:

cvs -q log -SR -r@{commitid}

To get the list of files changed between
tags use this:

cvs -q rdiff -s -r TAG1 [-r TAG2] module

If TAG2 is omitted, the current version is used.

To get a list of files changed since “date”:

cvs history -c -a -D [date]

where [date] can be 2008-12-19 or 12/19/2008