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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]