LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-31-2011, 03:26 PM   #16
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176

Quote:
Originally Posted by acid_kewpie View Post
well the point raised is that to get the checksum you'd need to read the whole file, and in the context of a mount of an svn repo would mean downloading the entire file each time.
If I already have the files from earlier checkouts, and checkout again, it somehow knows and avoids downloading again. Revert get me back to where I was if something got changed locally. Then checkout gets what's changed upstream. At that point I should have a replica of what's in the repository, plus the .svn files.

Note that this is "checkout" instead of "export" (now), which means there are a lot more files here (the .svn files have to stay in the staging area). Hopefully I can do "svn co". Then I would do rsync from this staging area to the area I would have done "svn export", excluding the .svn files. The idea is "svn co" reduces work and only downloads what is changing, and the rsync is a way to get a copy without .svn files while keeping the .svn files in the staging area for next time.

If I can't do "svn co" and/or it really transfers everything every time, then I guess I just have to live with doing a full "svn export" every time.
 
Old 05-31-2011, 03:50 PM   #17
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12, Slackware64 14.2
Posts: 236
Blog Entries: 1

Rep: Reputation: 57
I think you want 'svn update' after the 'svn revert' instead of 'svn co' into an existing local working copy (checkout).
 
Old 06-01-2011, 07:48 AM   #18
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by jamesf View Post
I think you want 'svn update' after the 'svn revert' instead of 'svn co' into an existing local working copy (checkout).
Ah, yes. That would be correct.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
copy svn working dir without svn hidden dirs and files? erinspice Linux - Software 4 03-29-2011 05:58 PM
How to update files with svn danndp Linux - Newbie 1 12-13-2010 06:56 PM
svn: show who edited what files? trey85stang Linux - General 1 06-05-2009 07:01 PM
viewing checked out files using SVN girish_hilage Programming 2 06-14-2008 06:16 AM
Verifying Rsync Backups of Large Volumes of Files mcgirvanmedia Linux - Server 2 06-03-2008 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration