Re: how to avoid post-commit hook being executed when branches are modified

2010-06-22 Thread Ryan Schmidt
On Jun 23, 2010, at 01:30, Kevin Wu wrote: > I wrote my post-commit hook for the trunk. But whenever something is > committed to one branch, the hook is triggered. How to let post-commit hook > discriminate the branch and the trunk? In the hook, run "svnlook dirs-changed" on the transaction, t

how to avoid post-commit hook being executed when branches are modified

2010-06-22 Thread Kevin Wu
Hi, I wrote my post-commit hook for the trunk. But whenever something is committed to one branch, the hook is triggered. How to let post-commit hook discriminate the branch and the trunk? Thanks a lot. -- Best wishes, Kevin Wu

Re: Generating a dump file using a powershell script

2010-06-22 Thread Geoff Worboys
Daniel Shahaf wrote: > svnadmin operates at a level below the sanity checks (it > talks to libsvn_fs directly most of the time) --- it'll > load the dumpfile literally. svn doesn't complain outright, > okay, and I suspect it may even correct the linefeeds for > you on the first commit to the file

Re: How to find who commits the build and revision number?

2010-06-22 Thread Kevin Wu
I understand revision number can be retreived by using the variable SVN_REVISION provided by Hudson. But how to let Hudson know who commits the code? On Wed, Jun 23, 2010 at 12:55 PM, Kevin Wu wrote: > Hi folks, > > I am using Hudson + Subversion to automate the build process. > > Everybody tr

How to find who commits the build and revision number?

2010-06-22 Thread Kevin Wu
Hi folks, I am using Hudson + Subversion to automate the build process. Everybody triggers the hudson build process is "anonymous". And I don't want to add extra authentication to Hudson. So I want to know if it is possible to get information from Subversion about who commits the change to the s

Re: Generating a dump file using a powershell script

2010-06-22 Thread Daniel Shahaf
Geoff Worboys wrote on Wed, 23 Jun 2010 at 04:12 -: > Daniel Shahaf wrote: > > i.e., 'svnadmin dump' produces CRLF for svn:eol-style=native > > files? That surprises me; I'd expect such files to be > > outputted with LF in dump files. (My testing agrees with my > > expectation.) Can you doub

Re: Generating a dump file using a powershell script

2010-06-22 Thread Geoff Worboys
Daniel Shahaf wrote: > i.e., you import the files in order of their timestamps, so > that svn:date remain globally sorted? > Nice! Yes, I thought so. :-) > i.e., 'svnadmin dump' produces CRLF for svn:eol-style=native > files? That surprises me; I'd expect such files to be > outputted with LF

Re: Merging / reintegration procedure

2010-06-22 Thread Rob van Oostrum
On Tue, Jun 22, 2010 at 3:47 PM, iguy wrote: > > Rob, > > I realize that this is an old thread, but just in case you remember it... > > In your scheme, where do bug fixes found during testing take place? > > Ira Depends. For example, take this scenario: QA finds a bug in QA build #10, you hav

Re: Merging / reintegration procedure

2010-06-22 Thread iguy
Rob, I realize that this is an old thread, but just in case you remember it... In your scheme, where do bug fixes found during testing take place? Ira Rob van Oostrum-2 wrote: > > Please keep replies on the list. > Yeah that's one drawback, but that's what svnmucc was invented for: > http://s

Re: Setting Revprops before Revision is Created

2010-06-22 Thread David Weintraub
On Tue, Jun 22, 2010 at 8:26 AM, Les Mikesell wrote: > Wouldn't it work at least as well to put this info in the commit message in > a format you could check with a regexp in a pre-commit hook? >  Then you'd see it in the history log. About 5 years ago, I wrote a Perl script for Subversion that d

Re: Generating a dump file using a powershell script

2010-06-22 Thread Daniel Shahaf
Geoff Worboys wrote on Tue, 22 Jun 2010 at 17:36 -: > powershell .\Import-from-Source D:\SourceFolder D:\Temp\DumpFile.dat > > It takes the entire contents of D:\SourceFolder and creates > a subversion dump file in D:\Temp\DumpFile.dat. It replicates > the structure inside D:\SourceFolder so

Extending --reintegrate checks to 2-URL merge

2010-06-22 Thread Brandt, Servatius (External)
This is a request for an improvement of the --reintegrate option of the merge command. I would like to use the --reintegrate option WITH, not instead of, a 2-URL merge in the following situation: Beside the trunk there are two branches "feature" from trunk:50, "release" from trun

Failing connection between SVN client and server

2010-06-22 Thread Nick Stolwijk
We have a problem with our Subversion setup. Sometimes the client complains with a "Connection reset by peer" error. This can happen with all (diff, up, ci) Subversion commands. Our setup: Clients: Subversion 1.6.x OS: Windows, Linux, Mac Server: Subversion: version 1.6.3 (r38063) by Collabnet Ap

Re: Setting Revprops before Revision is Created

2010-06-22 Thread Daniel Shahaf
David Weintraub wrote on Tue, 22 Jun 2010 at 14:40 -: > Thanks! > > That's all I have to know. It is possible to set revprops when doing a > commit, so I should have a mechanism to check for those when doing a > commit too. > You're welcome. (The mechanism ought to be 'svnlook -t' from the

Generating a dump file using a powershell script

2010-06-22 Thread Geoff Worboys
Hi All, I've just joined this group. I've been using subversion for a few years now - most of my day to day stuff via TortoiseSvn. A few days ago I once again came across a requirement where I said "subversion is what I need here" only to once again hit the issue that to start a new project in su

Re: Setting Revprops before Revision is Created

2010-06-22 Thread Les Mikesell
Wouldn't it work at least as well to put this info in the commit message in a format you could check with a regexp in a pre-commit hook? Then you'd see it in the history log. David Weintraub wrote: Thanks! That's all I have to know. It is possible to set revprops when doing a commit, so I s

Re: Setting Revprops before Revision is Created

2010-06-22 Thread David Weintraub
Thanks! That's all I have to know. It is possible to set revprops when doing a commit, so I should have a mechanism to check for those when doing a commit too. I thought that 1.5 allowed it, but I didn't know how. On Tue, Jun 22, 2010 at 1:15 AM, Daniel Shahaf wrote: > There is 'svn commit --wi

Re: Some files won't be imported to my repository!

2010-06-22 Thread Kevin Wu
Thanks a lot for all of you folks! On Tue, Jun 22, 2010 at 5:09 PM, Campbell Allan < campbell.al...@sword-ciboodle.com> wrote: > > On Tuesday 22 Jun 2010, Kevin Wu wrote: > > Hi folks > > > > I created a repository and imported one entire directory. > > > > But some files in that directory were n

Re: Some files won't be imported to my repository!

2010-06-22 Thread Campbell Allan
On Tuesday 22 Jun 2010, Kevin Wu wrote: > Hi folks > > I created a repository and imported one entire directory. > > But some files in that directory were not added to my repository. > > I logged the import process and confirmed this. > > But why? I need these files in order to auto-build by Hudso

Re: Some files won't be imported to my repository!

2010-06-22 Thread Ryan Schmidt
On Jun 22, 2010, at 03:59, Kevin Wu wrote: > I created a repository and imported one entire directory. > > But some files in that directory were not added to my repository. > > I logged the import process and confirmed this. > > But why? I need these files in order to auto-build by Hudson serv

Re: Some files won't be imported to my repository!

2010-06-22 Thread Erik Andersson
You probably have an svn:ignore set on *.so *.a? Cheers / Erik On Tue, Jun 22, 2010 at 10:59 AM, Kevin Wu wrote: > Hi folks > > I created a repository and imported one entire directory. > > But some files in that directory were not added to my repository. > > I logged the import process and con

Some files won't be imported to my repository!

2010-06-22 Thread Kevin Wu
Hi folks I created a repository and imported one entire directory. But some files in that directory were not added to my repository. I logged the import process and confirmed this. But why? I need these files in order to auto-build by Hudson server. these files are 17mb - 44mb big, named for e