You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Vivek <vi...@collab.net> on 2005/04/11 06:09:11 UTC

svn list command

Hi all,
       The svn list command is used to  list files in a repository. And
is usually quite fast in giving its results. But the switch
   svn list -R 
is (understandably) quite slow in giving its results. 
So a new user may inadvertently kill the process thinking that the
process has misbehaved.
Why not give an immediate feedback to the user that the process is doing
its job. Something like:
svn list -R
connecting to http://the/path/to/repos
and then maybe a continuous feedback.
Just a suggestion.
Vivek





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Incremental backups to "nightly" files

Posted by Andrew Thompson <su...@aktzero.com>.
Greg Franks wrote:
> One thing I would like to do though is remote backup.  I was running 
> rsync on the repositories to move everything from one computer to 
> another at a remote site.  Rsync would copy over only the changes made 
> to the repository.

If you're using fsfs as your back-end database, rsync should still work 
for you.

(Other readers check my facts, please.)

With FSFS, old revisions don't change, period. (They call them immutable.)

Every time there is a new commit, a revision file for that version is 
created. rsync will pick up that there is a new file in the repository 
folder and copy that new file only.

Other files in the repository may change for other reasons that I have 
no information on, but a scheduled rsync against the repository folder 
should do "the right thing".

-- 
Andrew Thompson
http://aktzero.com/
Interested in a hosted SVN repository? Email me, let's talk...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Incremental backups to "nightly" files

Posted by Gary Thomas <ga...@mlbassoc.com>.
On Mon, 2005-04-11 at 09:18 -0400, Greg Franks wrote:
> I just migrated my +10year old RCS/CVS repository to subversion.  Modulo 
> MAC OSX issues with the library load paths (and some headaches with 
> viewcvs), I'm rather happy.
> 
> One thing I would like to do though is remote backup.  I was running 
> rsync on the repositories to move everything from one computer to 
> another at a remote site.  Rsync would copy over only the changes made 
> to the repository.
> 
> I would like to do the same with subversion.  It looks like the svnadmin 
> dump --incremental would do the trick.  The incrementals would get 
> dumped to separate files and rsync would take care of the rest. 
> However, it looks like I need to figure out some way of specifying a 
> revision range. I am hoping that somebody on the mailing list has 
> already come up with some funky script to do so, and if so, could they 
> share their solution.

Do this in the 'post-commit' hook.  That's what I do; I keep incremental
revision backups for every commit and then slosh them about using rsync.
The hook is told the name of the revision and the repository path, so
it can be pretty dumb (extract, like this):

  CHANGES=PATH_TO_CHANGES/change.$REV
  svnadmin dump "$REPOS" --revision "$REV" --incremental >${CHANGES} 2>/dev/null
 
-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Incremental backups to "nightly" files

Posted by Greg Franks <gr...@franks.dnsalias.com>.
I just migrated my +10year old RCS/CVS repository to subversion.  Modulo 
MAC OSX issues with the library load paths (and some headaches with 
viewcvs), I'm rather happy.

One thing I would like to do though is remote backup.  I was running 
rsync on the repositories to move everything from one computer to 
another at a remote site.  Rsync would copy over only the changes made 
to the repository.

I would like to do the same with subversion.  It looks like the svnadmin 
dump --incremental would do the trick.  The incrementals would get 
dumped to separate files and rsync would take care of the rest. 
However, it looks like I need to figure out some way of specifying a 
revision range. I am hoping that somebody on the mailing list has 
already come up with some funky script to do so, and if so, could they 
share their solution.

thanks
   ..greg



-- 
          Greg Franks                    <|       _~@ __O     _~@ __O
     Ottawa, Ontario, Canada              |O\   -^\<;^\<,   -^\<;^\<,
                                          (*)--(*)%----%---(*)%---/(*)
"Where do you want to go today?" 
http://sports.groups.yahoo.com/group/go-tandem

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn list command

Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Mon, 11 Apr 2005, Vivek wrote:

>        The svn list command is used to  list files in a repository. And
> is usually quite fast in giving its results. But the switch
>    svn list -R
> is (understandably) quite slow in giving its results.

But it doesn't *have* to be that slow. It could start printing its results
when it receives the entries instead of waiting for them all. Issue #1742
is about this. I think it is better to get that fixed than spitting out
progress messages.

Thanks for the suggestion, anyway,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org