Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: How to use fsvs?

fsvs
Discussion topic

Back to topic list

Re: How to use fsvs?

Author pmarek
Full name P.Marek
Date 2006-07-09 06:18:33 PDT
Message Sorry for not answering for such a long time -- I was (and still am) a bit out
of order.

In case that this is still not working I'll dump my 0.02 euro into the mix:
--- Start ---

#!/bin/bash

set -x

# Set some paths
fsvs=`pwd`/../fsvs-1​.0.7/src/fsvs
repospath=`pwd`/repos
reposurl=file://$repospath
spool=/var/spool/fsvs
targetdir=./dir
ignore=skipme

# Clean up from last run
rm -rf $repospath
rm -rf $spool
rm -rf $targetdir

# Create the dirs
mkdir $targetdir
touch $targetdir/file
mkdir $targetdir/$ignore
touch $targetdir/$ignore/file

# Now I want to version $dir, but how?

svnadmin create $repospath
mkdir $spool
# goto the target path - most other operations use the current directory
# to differentiate between multiple "checkouts"
cd $targetdir
# set the repository to use
$fsvs init $reposurl

# I don't get any difference from including this section or not. why?
$fsvs ignore ./$ignore

# initial status
echo "Initial status:"
$fsvs st

# first commit
echo "Initial commit."
$fsvs ci -m 'Commit-Test'

# status after commit
echo "Status after commit:"
$fsvs st
--- End ---

Please try this and tell me any problems.


Regards,

Phil

« Previous message in topic | 5 of 5 | Next message in topic »

Messages

Show all messages in topic

How to use fsvs? =?ISO-8859-1?Q?Peter_Valdemar_M=F8rch?= <swp5jhu02 at sneakemail dot com> =?ISO-8859-1?Q?Peter_Valdemar_M=F8rch?= <swp5jhu02 at sneakemail dot com> 2006-06-28 06:25:00 PDT
     Re: How to use fsvs? Gunter Ohrner <G dot Ohrner at post dot rwth-aachen dot de> Gunter Ohrner <G dot Ohrner at post dot rwth-aachen dot de> 2006-06-28 09:25:54 PDT
         Re: How to use fsvs? Peter Valdemar Morch <swp5jhu02 at sneakemail dot com> Peter Valdemar Morch <swp5jhu02 at sneakemail dot com> 2006-06-28 09:51:50 PDT
             Re: How to use fsvs? Gunter Ohrner <G dot Ohrner at post dot rwth-aachen dot de> Gunter Ohrner <G dot Ohrner at post dot rwth-aachen dot de> 2006-06-28 14:05:38 PDT
                 Re: How to use fsvs? pmarek P.Marek 2006-07-09 06:18:33 PDT
Messages per page: