Login | Register
My pages Projects Community openCollabNet

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

fsvs
Discussion topic

Back to topic list

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 07:34:26 PDT
Message Let's assume that I have the following directory structure (for brevity,
many have been omitted):

/
/etc
/reports
/reports/configuration
/usr
/usr/local
/var

I want to send /etc, /usr/local to the root of repository A. I want to
send /reports to a sub-directory in repository B.

Normally, for repository A I would do:

# cd /
# fsvs urls svn+ssh://svn.exampl​e.com/systemname
# fsvs ignore ./reports
(repeated fsvs ignore statements to ignore /proc, /sys, etc)
# fsvs ci -m 'initial commit' /etc
# fsvs ci -m 'initial commit' /usr/local
# fsvs status
(see if there is anything else that needs to be ignored)
# fsvs ci -m 'initial commit'
(which grabs the remainers)

My first guess on how to setup repository B would be:

# cd /reports
# fsvs urls svn+ssh://svn.exampl​e.com/reports/system​name

Then to commit it:

# cd /reports
# fsvs ci -m 'initial commit'

However, this dies with:

An error occurred at 10:27:45.577: 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:1405]: action commit failed

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