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.sysutils.backup.fsvs.general/421 Morlock:/# fsvs urls svn+ssh://[email protected]/space/system/svn_repos/fsvs/trunk/morlock Morlock:/# fsvs ignore 't/var/lib/aptitude/**' '/**' # Seems like everything is set Morlock:/# fsvs urls dump N:,P:0,svn+ssh://[email protected]/space/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://[email protected]/space/system/svn_repos/fsvs/trunk/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://[email protected]/space/system/svn_repos/fsvs/trunk/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://[email protected]/space/system/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# ------------------------------------------------------ http://fsvs.tigris.org/ds/viewMessage.do?dsForumId=3928&dsMessageId=987314 To unsubscribe from this discussion, e-mail: [[email protected]].
