Re: How to fix corrupt revision in repo?

2011-09-19 Thread Thorsten Schöning
Guten Tag David Hopkins, am Montag, 19. September 2011 um 04:06 schrieben Sie: > At the moment it looks like the "nuclear option" is to check out the > current version of everything and start a new repository with it. You can dump the old repository until the last working rev and start from that

AW: SVN File Size

2011-09-19 Thread Stümpfig , Thomas
Hi all, First of all, I would like to thank you for your dedication to this issue I would like to resume: a) there is work on serverside in 1.7 that cares about file size b) svnlook filesize makes use of it in 1.7 c) there might be issues related to svn:eol and svn:keywords d) It is worth to creat

Re: How to fix corrupt revision in repo?

2011-09-19 Thread Daniel Shahaf
David Hopkins wrote on Mon, Sep 19, 2011 at 10:06:17 +0800: > > Daniel Shahaf wrote: > > One more thing. The fact that in r162 one file was deleted *and no > > files were added or changed* implies that the only new representations > > in r162 would be directory representations --- it wouldn't add

Re: SVN File Size

2011-09-19 Thread Daniel Shahaf
Stümpfig, Thomas wrote on Mon, Sep 19, 2011 at 09:18:06 +: > Hi all, > First of all, I would like to thank you for your dedication to this issue > I would like to resume: > > a) there is work on serverside in 1.7 that cares about file size > b) svnlook filesize makes use of it in 1.7 IIRC, in

Re: How to fix corrupt revision in repo?

2011-09-19 Thread Nico Kadel-Garcia
2011/9/19 Thorsten Schöning : > Guten Tag David Hopkins, > am Montag, 19. September 2011 um 04:06 schrieben Sie: > >> At the moment it looks like the "nuclear option" is to check out the >> current version of everything and start a new repository with it. > > You can dump the old repository until t

post-commit hook jurisdiction

2011-09-19 Thread spacegoose
I don't yet have filesystem access to our SVN repository but am looking into triggering Jenkins to build and deploy a project based on SVN commits to the project, ideally only for a specific branch / trunk to start. I'm wondering if the post-commit hook applies to the entire SVN repository, if the

Re: post-commit hook jurisdiction

2011-09-19 Thread Ryan Schmidt
On Sep 19, 2011, at 11:32, spacegoose wrote: > I'm wondering if the post-commit hook applies to the entire SVN > repository, Yes. > if there are (or can be) multiple post-commit files that > apply only to a particular project (or project branch / trunk), No. > or if > this is all done program

AW: SVN File Size

2011-09-19 Thread Stümpfig , Thomas
Hi all, I found the following when examining the svnlook code svn_fs_file_length where svn look gets the filesize. This is obviously the fs side function. In /libsvn_ra_svn/protocol I found the commands "stat" and "log" "stat" contains a response token of size:number "log" does not contain suc

Re: SVN File Size

2011-09-19 Thread Daniel Shahaf
svn_ra_stat() does return the filesize, and it's the API that 'svn info' uses. The next/prev links in the chain are svn_client_info3() and ra_svn_stat() (the latter is a file-private function in libsvn_ra_svn). So, yes, you're on the right path. However, I knew all these APIs would exist, so I'm

Ignore development changes.

2011-09-19 Thread Gavin Baumanis
Hi Everyone, I am just after some advice on how other people solve the following issue. I have a committed file. When it is deployed, it needs to be in a state (lets call it state 1) While testing code locally, it needs to be in some other state (state 2) Short of altering the code to read like;

Re: Ignore development changes.

2011-09-19 Thread Geoff Hoffman
The way we do it is: svn:ignore filename.ext filename.local.ext filename.stage.ext filename.prod.ext On local make a symlink to local version: ln -s filename.local.ext filename.ext On staging make a symlink to stage version: ln -s filename.stage.ext filename.ext On prod, make a symlink to prod

RE: How to fix corrupt revision in repo?

2011-09-19 Thread David Hopkins
> Daniel Shahaf wrote on Monday, 19 September 2011 9:27 PM: > You ought to be able to keep the rest of the history even without fixing > the brokenness in r192. (as the file is deleted in HEAD, a checkout > should work; and you also have the option of dumping the history while > excluding the prob

RE: How to fix corrupt revision in repo?

2011-09-19 Thread David Hopkins
> > Daniel Shahaf wrote on Monday, 19 September 2011 9:27 PM: > > You ought to be able to keep the rest of the history even without > fixing > > the brokenness in r192. (as the file is deleted in HEAD, a checkout > > should work; and you also have the option of dumping the history while > > exclud

Deleting a directory with a space in it.

2011-09-19 Thread Srdan Dukic
Hi, I've got a directory in subversion with a space in the name which I'd like to delete. This is what I've tried: svn rm http://subversion/src/Repo/Grad Training svn rm "http://subversion/src/Repo/Grad Training" svn rm "http://subversion/src/Repo/Grad%20Training"; svn rm http://subversion/src/Re

RE: post-commit hook jurisdiction

2011-09-19 Thread Andreas Tscharner
> I don't yet have filesystem access to our SVN repository but am > looking into triggering Jenkins to build and deploy a project based on > SVN commits to the project, ideally only for a specific branch / trunk > to start. The SVN Jenkins plugin does polling (you can give it an interval) on a giv

Re: Deleting a directory with a space in it.

2011-09-19 Thread Lorenz
Srdan Dukic wrote: I don't think you have a problem with spaces here. >[...] >error: you don't have enough permissions for this transaction: >you can't remove Grad Training/ you should quote the complete error message because the "Commit blocked by ..." part is essential here >and from the Apa