Login | Register
My pages Projects Community openCollabNet

Discussions > users > How to use fsvs?

fsvs
Discussion topic

Back to topic list

How to use fsvs?

Author =?ISO-8859-1?Q?Peter_Valdemar_M=F8rch?= <swp5jhu02 at sneakemail dot com>
Full name =?ISO-8859-1?Q?Peter_Valdemar_M=F8rch?= <swp5jhu02 at sneakemail dot com>
Date 2006-06-28 06:25:00 PDT
Message Hi,

I'm trying to get started with this, but I haven't succeeded in getting
even basic operations working.

I eventuall want to keep track of /etc in a repository, but am testing
with /dir. Here is the test script I've been using. I get nothing but
errors and segmentation faults... What am I doing wrong?

How do I keep track of /dir and not /skipme?

Peter
(I'm using trunk -r 355 which is identical to the 1.0.11 tag)

#!/bin/bash

set -x

# Set some paths
fsvs=`pwd`/src/fsvs
repospath=`pwd`/repos
repos=file://$repospath
spool=/var/spool/fsvs

# Clean up from last run
rm -rf $repospath
rm -rf $spool
rm -rf /dir
rm -rf /skipme

# Create the dirs
mkdir /dir
touch /dir/file
mkdir /skipme
touch /skipme/file

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

svnadmin create $repospath
# Or should this be "mkdir $spool"? Haven't a clue...
# I tried both and both don't work.
svn co $repos $spool
$fsvs init $repos

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

$fsvs status /dir
# This outputs:
# N... 0 ./file

$fsvs status /skipme
# This outputs:
# N... 0 ./file
# But why? I thought I skipped that!

$fsvs commit -m "Checking in /dir for the first time" /dir
# Prints out:
# An error occurred: No such file or directory (2)
# in waa__load_repos_urls
# Version trunk:329
# But why? Which dir doesn't exist?

$fsvs add /dir
# creates a segmentation fault

$fsvs sync-repos
# Synchronized to revision 0.

$fsvs add /dir
# Now it prints out:
# n..! 0 .//dir
# But what is up with the double "//'?

$fsvs commit -m "Checking in /dir for the first time" /dir
# An error occurred: No such file or directory (2)
# in waa__load_repos_urls
# Version trunk:329

# Hmm...
cd /
$fsvs add dir
# creates a segmentation fault
$fsvs commit -m "Checking in /dir for the first time" dir
# An error occurred: No such file or directory (2)
# in waa__load_repos_urls
# Version trunk:329

--
Peter Valdemar Mørch
http://www.morch.com

« Previous message in topic | 1 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: