unsub

2010-05-05 Thread Justin Connell




(no subject)

2010-05-04 Thread Justin Connell





Re: Where should I start, if I want to build the SVN project?

2010-04-12 Thread Justin Connell

/Google is your friend for finding things

/There is no need for facetiousness..

Stephen Connolly wrote:
On 12 April 2010 03:48, Saiho Yuen adenin...@yahoo.com 
mailto:adenin...@yahoo.com wrote:


HI,

I wish to build a custom GUI for SVN with Java. And I wish to
learn from the start, so I would like to learn how to build the
SVN project form the source codes. So can someone please tell me
where can I get the documentation? I'm working on Vista, should I
use the MS Visual Studio or another compiler or do I need other
softwares?

thanks you very much

Saiho 




If you are writing the GUI in Java you might be better off using the 
SVNKit libraries as that way you will not have to deal with JNI.


Google is your friend for finding things

-Stephen




dumpfilter exclude question

2010-02-18 Thread Justin Connell

Hi,
If I use a dumpfilter exclude /parentpath/folder_to_drop will the 
content of the parentpath be preserved?


Thanks
Justin


Re: SVN Dump Question

2010-02-16 Thread Justin Connell

Andrey Repin wrote:

Greetings, Justin Connell!

  

I have a really huge repo that occupies 151 GB of space on the file system.
Just to give some background, there is a lot of content that gets added and
deleted from the repo, now we are sitting with a rev number of over 1, 500 000.

My question is, would it be possible to take a dump of just a specified
path within the repo, for example if my repo is located at /path/to/repo ,
could I run a dump such as /path/to/repo/specific/location/in/repo ?
  


  

No but you can take a complete dump and pipe it through svndumpfilter to
extract out just the part you want. 



To clarify, if it's unclear, you could attempt to directly pipe the dump to
filter on the fly, saving disk space for intermediate storage.
Although, it's not the one failsafe process, I'm afraid.


--
WBR,
 Andrey Repin (anrdae...@freemail.ru) 16.02.2010, 20:01

Sorry for my terrible english...



  

Thanks Andrey,
The reason, I'm asking such strange questions is that I have a very 
abnormal situation on my hands here. I previously took a full dump of 
the repo (for the reason you implied) where the original size of the 
repo on disk was 150 GB, and the resulting dump file ended up at 46 GB. 
This was quite unexpected (the dump is usually larger than the repos on 
smaller repos that I have worked on).


Just as a sanity check, this is what I was trying to accompliesh:

Scenario - The repo needs to get trimmed down from 150 GB to a more 
maintainable size. We have a collection of users who access the 
repository as a document revision control system. Many files have been 
added and deleted over the past 2 years and all these transactions have 
caused such an astronomical growth in the physical size of the repo. My 
mission is to solve this issue preferably using subversion best 
practices. There are certain locations in the repo that do not have to 
retain version history and others that must retain their version history.


Proposed solution -

  1. Take a full dump of the repo
  2. run a svnadmin dumpfilter including the paths that need to have
 version history preserved into a single filtered.dump file
  3. export the top revision of the files that do not require version
 history to be preserved
  4. create a new repo and load the filtered repo
  5. import the content form the svn export to complete the process

Is this a sane approach to solving the problem? and what about the size 
difference between the dump file and the original repo - am I loosing 
revisions (the dump shows all revision numbers being written to the dump 
file and this looks correct).


Another aspect could also be that there are unused log files occupying 
disk space (we are not using Berkley DB though) is this a valid 
assumption to make when using the FS configuration.


Thanks so much to all who have responded to this mail, and all of you 
who take the time and read these messages


Justin


Restoring a hotcopy repo

2010-02-13 Thread Justin Connell

Hi,
I need to set up a new svn repository from a hotcopy backup. I 
understand that it is a simple procedure of just copying the files into 
the new repo and ensuring that the file access permissions are correct, 
but my concern is that the hotcopy contains a series of .txn directories 
which implies that the hotcopy was configured to do an incremental 
back-up, and my core concern is that when I move the content of the 
hotcopy, do I include the .txn directories or are these ommitted?


Thanks in advance for taking the time to respond to my query

Justin


Maintaining large repositories

2010-02-12 Thread Justin Connell

Hi,
I have a repository that has been in use for well over a year and over 
this period the size on disk has grown to over 150 GB, I found that when 
running svnadmin dump, that the resulting dump file was at 46 GB on disk 
and then when loading the dump file into a new repository that the size 
on disk in the repository folder was 8 GB in total.


What's disturbing is the drop in disk usage from 150 -- 46 -- 8 Gig.

Does anyone have an explanation for this?

Or rather is there a better way of freeing up disk space back to the OS? 
(we are using FS and not Berkley DB storage)