Login | Register
My pages Projects Community openCollabNet

Discussions > users > First time actual user, things do not work as expected

fsvs
Discussion topic

Back to topic list

First time actual user, things do not work as expected

Author Peter Rabbitson <rabbit+list at rabbit dot us>
Full name Peter Rabbitson <rabbit+list at rabbit dot us>
Date 2008-12-19 01:59:58 PST
Message Hi,

I finally found some time to try and use fsvs on a real machine. I hit a
roadblock - the first commit does not happen no matter what I do. Here
is a full command log with some comments. I have also attempted the same
by prefixing all paths with ./ (instead of just /) - same result. Please
point out where am I wrong:


# Nothing configured so far

Morlock:/# cd /

Morlock:/# fsvs status
Couldn't find a working copy with matching base.


# Prepare to version / by including only specific bits.
# The example is deliberately short for illustration purposes.
# The idea is to version /etc and parts of /var as config lives there too
# Was advised to do it this way here:
http://article.gmane​.org/gmane.comp.sysu​tils.backup.fsvs.gen​eral/421

Morlock:/# fsvs urls
svn+ssh://dominus@19​2.168.5.1/space/syst​em/svn_repos/fsvs/tr​unk/morlock

Morlock:/# fsvs ignore 't/var/lib/aptitude/**' '/**'


# Seems like everything is set

Morlock:/# fsvs urls dump
N:,P:0,svn+ssh://dom​inus at 192 dot 168.5.1/spa​ce/system/svn_repos/​fsvs/trunk/morlock

Morlock:/# fsvs ignore dump
t/var/lib/aptitude/**
/**

Morlock:/# fsvs status
.m.. dir .


# Attempting a blank commit, just to make sure it is not an access issue
# I can completely skip this step, still get the same result below

Morlock:/# fsvs commit -m "Make sure the repo is healthy"
Committing to
svn+ssh://dominus@19​2.168.5.1/space/syst​em/svn_repos/fsvs/tr​unk/morlock
committed revision 1 on 2008-12-19T09:43:44.220913Z as dominus


# This already doesn't look too good

Morlock:/# fsvs update


An error occurred: Invalid filesystem path syntax (160005)
  in cb__record_changes_mixed: reporter->finish_report: Target path does
not exist


# However status claims . is already commited

Morlock:/# fsvs status


# Proceed to add some real files

Morlock:/# fsvs add /var/lib/aptitude/
N... dir /var/lib/aptitude/

Morlock:/# fsvs status
n... dir var
N... 2068355 var/lib/aptitude/pkgstates
N... 2068355 var/lib/aptitude/pkgstates.old
n... dir var/lib/aptitude
n... dir var/lib


# Not good

Morlock:/# fsvs commit -m "try to actually add something..."
Committing to
svn+ssh://dominus@19​2.168.5.1/space/syst​em/svn_repos/fsvs/tr​unk/morlock
n... dir var
n... dir var/lib
n... dir var/lib/aptitude
N... 2068355 var/lib/aptitude/pkgstates


An error occurred: Filesystem has no item (160013)
  in ci__nondir: svn_txdelta_send_stream: File not found: transaction
'1-2', path '/trunk/morlock/var'


# Nothing is committed

Morlock:/# fsvs status
n... dir var
N... 2068355 var/lib/aptitude/pkgstates
N... 2068355 var/lib/aptitude/pkgstates.old
n... dir var/lib/aptitude
n... dir var/lib


# Still bad

Morlock:/# fsvs update


An error occurred: Invalid filesystem path syntax (160005)
  in cb__record_changes_mixed: reporter->finish_report: Target path does
not exist



Some more info:
Morlock:/# fsvs -V
FSVS (licensed under the GPLv3), (C) by Ph. Marek; version fsvs-1.1.16:1690

# Looks like nothing was actually committed to the repo (even
./trunk/morlock/)
Morlock:~# svn co svn+ssh://dominus@19​2.168.5.1/space/syst​em/svn_repos/fsvs/
Checked out revision 1.
Morlock:~# cd fsvs/
Morlock:~/fsvs# ls -al
total 12
drwxr-xr-x 3 root root 4096 2008-12-19 04:59 .
drwxr-xr-x 8 root root 4096 2008-12-19 04:59 ..
drwxr-xr-x 6 root root 4096 2008-12-19 04:59 .svn
Morlock:~/fsvs# svn status
Morlock:~/fsvs# svn log
--------------------​--------------------​--------------------​------------
r1 | dominus | 2008-12-19 04:43:44 -0500 (Fri, 19 Dec 2008) | 1 line

Make sure the repo is healthy
--------------------​--------------------​--------------------​------------
Morlock:~/fsvs#

« Previous message in topic | 1 of 8 | Next message in topic »

Messages

Show all messages in topic

First time actual user, things do not work as expected Peter Rabbitson <rabbit+list at rabbit dot us> Peter Rabbitson <rabbit+list at rabbit dot us> 2008-12-19 01:59:58 PST
     Re: First time actual user, things do not work as expected pmarek P.Marek 2008-12-19 08:03:01 PST
         Re: First time actual user, things do not work as expected Peter Rabbitson <rabbit+list at rabbit dot us> Peter Rabbitson <rabbit+list at rabbit dot us> 2008-12-19 21:48:42 PST
             Re: First time actual user, things do not work as expected pmarek P.Marek 2008-12-20 02:23:26 PST
                 Re: First time actual user, things do not work as expected Peter Rabbitson <rabbit+list at rabbit dot us> Peter Rabbitson <rabbit+list at rabbit dot us> 2008-12-20 03:52:20 PST
                     Re: First time actual user, things do not work as expected pmarek P.Marek 2008-12-20 04:18:54 PST
                         Re: First time actual user, things do not work as expected Peter Rabbitson <rabbit+list at rabbit dot us> Peter Rabbitson <rabbit+list at rabbit dot us> 2008-12-20 08:43:43 PST
                             Re: First time actual user, things do not work as expected pmarek P.Marek 2008-12-21 01:28:07 PST
Messages per page: