Newby question: logging with import?

View: New views
4 Messages — Rating Filter:   Alert me  

Newby question: logging with import?

by Ton Boelens-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am new to subversion. I would like to add a large number of files to
an empty repository with the following command:

svn import ~/righttree/ file:///mnt/data/svn -m "Eerste grote import"

The directory righttree and all it's subdirectories are read and it
looks like it is copying the files (13 GB). Then, after an hour or so
of listing filenames, the proces just stops.

When I then do svn list file:///mnt/data/svn, I get no output.

Is there a way to enable logging of svn import? What can I do to
troubleshoot?

Any help would be welcome.

Regards,

Ton

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2412707

To unsubscribe from this discussion, e-mail: [users-unsubscribe@...].

Re: Newby question: logging with import?

by Andy Levy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Oct 29, 2009 at 12:11, Ton Boelens <ton@...> wrote:

> Hi,
>
> I am new to subversion. I would like to add a large number of files to
> an empty repository with the following command:
>
> svn import ~/righttree/ file:///mnt/data/svn -m "Eerste grote import"
>
> The directory righttree and all it's subdirectories are read and it
> looks like it is copying the files (13 GB). Then, after an hour or so
> of listing filenames, the proces just stops.

How long have you let it continue running? 13GB is a lot to import in
a single shot, and there will very likely be long periods where
nothing *appears* to be happening.

> When I then do svn list file:///mnt/data/svn, I get no output.

Because the import isn't complete yet.

> Is there a way to enable logging of svn import? What can I do to
> troubleshoot?

What are you expecting to be logged? Try a smaller import first (1GB
at most) and work up from there.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2412711

To unsubscribe from this discussion, e-mail: [users-unsubscribe@...].

RE: Newby question: logging with import?

by Bob Archer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Hi,
>
> I am new to subversion. I would like to add a large number of files to
> an empty repository with the following command:
>
> svn import ~/righttree/ file:///mnt/data/svn -m "Eerste grote import"
>
> The directory righttree and all it's subdirectories are read and it
> looks like it is copying the files (13 GB). Then, after an hour or so
> of listing filenames, the proces just stops.
>
> When I then do svn list file:///mnt/data/svn, I get no output.
>
> Is there a way to enable logging of svn import? What can I do to
> troubleshoot?
>
> Any help would be welcome.

You can use --verbose on the command line and redirect the output to a file.

BOb

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2412713

To unsubscribe from this discussion, e-mail: [users-unsubscribe@...].

Re: Newby question: logging with import?

by Ton Boelens-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Oct 29, 2009 at 12:18:04PM -0400, Andy Levy wrote:

> On Thu, Oct 29, 2009 at 12:11, Ton Boelens <ton@...> wrote:
> > Hi,
> >
> > I am new to subversion. I would like to add a large number of files to
> > an empty repository with the following command:
> >
> > svn import ~/righttree/ file:///mnt/data/svn -m "Eerste grote import"
> >
> > The directory righttree and all it's subdirectories are read and it
> > looks like it is copying the files (13 GB). Then, after an hour or so
> > of listing filenames, the proces just stops.
>
> How long have you let it continue running? 13GB is a lot to import in
> a single shot, and there will very likely be long periods where
> nothing *appears* to be happening.
>
> > When I then do svn list file:///mnt/data/svn, I get no output.
>
> Because the import isn't complete yet.
>
> > Is there a way to enable logging of svn import? What can I do to
> > troubleshoot?
>
> What are you expecting to be logged? Try a smaller import first (1GB
> at most) and work up from there.

Hi Andy,

I have imported the directories in smaller portions and this worked
out. Also, I have decided to not import my foto's and mp3's in the
repo, because these files do seldom change.

After some experimenting with RapidSVN (Linux) and Versions (Mac OSX)
I now have a working setup.

I am now going to assign a replicated repository, that can serve as an
off-site backup.


---
Ton Boelens
's-Hertogenbosch, The Netherlands
TonsofTime, enjoy the Now http://tonsoftime.com


If condition persists, consult your physician.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2413110

To unsubscribe from this discussion, e-mail: [users-unsubscribe@...].