Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: Committing different portions of a directory tree to different repositories

fsvs
Discussion topic

Back to topic list

Re: Committing different portions of a directory tree to different repositories

Author Thomas Harold <thomas-lists at nybeta dot com>
Full name Thomas Harold <thomas-lists at nybeta dot com>
Date 2013-06-26 08:15:01 PDT
Message I even tried fooling it, thinking that maybe it wanted its own
config/waa locations:

#!/bin/sh
# Only executes FSVS if FSVS reports outstanding changes

FSVS_CONF=~/.fsvs-conf-reports
FSVS_WAA=~/.fsvs-waa-reports
export FSVS_CONF FSVS_WAA

cd /reports

FCOUNT=`/usr/local/bin/fsvs | /bin/grep -v 'dir.*\.$' | /usr/bin/wc -l`

if [ $FCOUNT -gt 0 ] ; then
     /usr/local/bin/fsvs sync-repos
     /usr/local/bin/fsvs -d -o verbose=all ci -m "Automatic FSVS snapshot"
else
     echo "Nothing changed"
fi

The tail end of this dies with:

11:13:48.655 waa__mkdir_mask[waa.c:360]
/root/.fsvs-waa-repo​rts/70/ac/904afcf063​8af8653b72fd93c109: last is 1
11:13:48.655 waa__get_waa_directo​ry[waa.c:537] returning
/root/.fsvs-waa-repo​rts/70/ac/904afcf063​8af8653b72fd93c109/
11:13:48.701 hsh__close[hash_ops.c:347] nothing found, removing
/root/.fsvs-waa-repo​rts/70/ac/904afcf063​8af8653b72fd93c109/p​rop
11:13:48.701 waa__delete_byext[waa.c:855] unlink
/root/.fsvs-waa-repo​rts/70/ac/904afcf063​8af8653b72fd93c109/p​rop
11:13:48.701 waa__delete_byext[waa.c:880] last removed was
/root/.fsvs-waa-reports/70
11:13:48.701 hsh__close[hash_ops.c:359] closing hash
11:13:48.763 ci__nondir[commit.c:461] lvm_vgscan: status new, owner,
group, mtime, umode; flags none
11:13:48.763 ci__nondir[commit.c:544] really sending ...
11:13:48.764 ci__nondir[commit.c:558] after sending encoder=(nil)
11:13:48.764 ci__directory[commit.c:879] setting URL of
./configuration/lvm_vgscan
11:13:48.764 ci__directory[commit.c:685] ./configuration/lvm_lvscan:
action (new), updated mode 0100644, flags 0, filter 1
11:13:48.764 ops__build_path[est_ops.c:717] 0x7e7200 found in cache
index 44; lru 44
11:13:48.764 st__print_status[status.c:187] VERBOSITY=-1
11:13:48.764 hlp__format_path[helper.c:1622] parent=., has ; len=0,
rel_len=25
N..... 272 (none) configuration/lvm_lvscan (none)
11:13:48.764 hlp__lstat[helper.c:354] ./configuration/lvm_lvscan: uid=0
gid=0 mode=0100644 dev=0x90c ino=1048584 rdev=0x0 size=272
11:13:48.764 ci__directory[commit.c:759] set st for lvm_lvscan
11:13:48.764 ci__directory[commit.c:801] new lvm_lvscan (parent 0x7e7ef8)
11:13:48.764 ci__directory[commit.c:826] adding
./configuration/lvm_lvscan with (null):-1
11:13:48.764 ci__directory[commit.c:841] baton for new lvm_lvscan
0x7ea0c0 (parent 0x7e7ef8)
11:13:48.764 ci__directory[commit.c:854] doing changes, flags=0
11:13:48.764 ops__build_path[est_ops.c:717] 0x7e7200 found in cache
index 44; lru 44
11:13:48.764 ops__build_path[est_ops.c:717] 0x7e7200 found in cache
index 44; lru 44
11:13:48.764 waa___get_path_md5[waa.c:393] path is
./configuration/lvm_lvscan
11:13:48.764 Increment[helper.c:476] adding /reports
11:13:48.764 Increment[helper.c:476] adding /
11:13:48.764 Increment[helper.c:476] adding ./configuration/lvm_lvscan
11:13:48.764 hlp__pathcopy[helper.c:579] finished path is
/reports/configurati​on/lvm_lvscan
11:13:48.764 waa___get_path_md5[waa.c:432] md5 of
/reports/configurati​on/lvm_lvscan
11:13:48.764 waa__mkdir_mask[waa.c:360] /root/.fsvs-waa-reports/6a: last
is 1
11:13:48.764 waa__mkdir_mask[waa.c:360] /root/.fsvs-waa-reports/6a/b9:
last is 1
11:13:48.764 waa__mkdir_mask[waa.c:360]
/root/.fsvs-waa-repo​rts/6a/b9/eeffb1b5b3​c686cab1548b2960d2: last is 1
11:13:48.764 waa__get_waa_directo​ry[waa.c:537] returning
/root/.fsvs-waa-repo​rts/6a/b9/eeffb1b5b3​c686cab1548b2960d2/
11:13:48.796 hsh__close[hash_ops.c:347] nothing found, removing
/root/.fsvs-waa-repo​rts/6a/b9/eeffb1b5b3​c686cab1548b2960d2/p​rop
11:13:48.796 waa__delete_byext[waa.c:855] unlink
/root/.fsvs-waa-repo​rts/6a/b9/eeffb1b5b3​c686cab1548b2960d2/p​rop
11:13:48.796 waa__delete_byext[waa.c:880] last removed was
/root/.fsvs-waa-reports/6a
11:13:48.796 hsh__close[hash_ops.c:359] closing hash


An error occurred at 11:13:48.873: Device or resource busy (16)
   in ci___set_props [commit.c:397]: set meta-data
   in ci__nondir [commit.c:450]: ci___set_props: ci___set_props
   in ci__directory [commit.c:863]: ci__nondir: ci__nondir
   in ci__directory [commit.c:858]: ci__directory: ci__directory
   in ci___base_dirs [commit.c:1034]: ci__directory: ci__directory
   in ci__work [commit.c:1230]: ci___base_dirs: ci___base_dirs
   in ci__work [commit.c:1270]: ci___base_dirs
   in main [fsvs.c:1409]: action commit failed
11:13:48.873 main[fsvs.c:1426] memory stats: 0x7e4000 to 0x814000, 192 KB

# fsvs -V
FSVS (licensed under the GPLv3), (C) by Ph. Marek; version fsvs-1.2.5:2457

# svn --version
svn, version 1.7.9 (r1462340)
    compiled May 9 2013, 19:03:27

« Previous message in topic | 4 of 10 | Next message in topic »

Messages

Show all messages in topic

Committing different portions of a directory tree to different repositories Thomas Harold <thomas-lists at nybeta dot com> Thomas Harold <thomas-lists at nybeta dot com> 2013-06-26 07:34:26 PDT
     Re: Committing different portions of a directory tree to different repositories pmarek P.Marek 2013-06-26 07:37:39 PDT
         Re: Committing different portions of a directory tree to different repositories Thomas Harold <thomas-lists at nybeta dot com> Thomas Harold <thomas-lists at nybeta dot com> 2013-06-26 08:06:24 PDT
     Re: Committing different portions of a directory tree to different repositories Thomas Harold <thomas-lists at nybeta dot com> Thomas Harold <thomas-lists at nybeta dot com> 2013-06-26 08:15:01 PDT
         Re: Committing different portions of a directory tree to different repositories pmarek P.Marek 2013-06-27 22:17:46 PDT
             Re: Committing different portions of a directory tree to different repositories Thomas Harold <thomas-lists at nybeta dot com> Thomas Harold <thomas-lists at nybeta dot com> 2013-06-27 22:36:26 PDT
                 Re: Committing different portions of a directory tree to different repositories Thomas Harold <thomas-lists at nybeta dot com> Thomas Harold <thomas-lists at nybeta dot com> 2013-06-28 06:16:20 PDT
                     Re: Committing different portions of a directory tree to different repositories pmarek P.Marek 2013-06-28 10:58:33 PDT
                         Re: Committing different portions of a directory tree to different repositories Thomas Harold <thomas-lists at nybeta dot com> Thomas Harold <thomas-lists at nybeta dot com> 2013-06-28 17:42:19 PDT
                             Re: Committing different portions of a directory tree to different repositories pmarek P.Marek 2013-06-29 11:29:21 PDT
Messages per page: