cvs2svn failing on "non-CVS" files

2012-09-12 Thread Nico Kadel-Garcia
I'm helping upgrade a 12 year old CVS repository to use modern source control, and have run into a bit of a surprise. Running either cvs2svn or cvs2git, I'm finding a couple of old CVS files that were hand edited, 6 hears, and cause cvs2svn to fail with this kind of error. /data/cvs/tusk/ocw/tmpl

Re: Problem with merging

2012-09-12 Thread Thorsten Schöning
Guten Tag John Maher, am Mittwoch, 12. September 2012 um 19:39 schrieben Sie: > I started using subversion a while back and doing a merge I lost a bunch > of source code which prohibited me from updating production for weeks. Unless you didn't commit, you can't loose source code, that's what vers

Re: Problem with merging

2012-09-12 Thread Stefan Sperling
On Wed, Sep 12, 2012 at 01:39:41PM -0400, John Maher wrote: > Here's what I did: Hi John, your questions are about fundamental Subversion concepts, and that's fine. Just please understand that I don't want to type another explanation since good documentation has already been written. So, below, I

Re: Limiting Subversion noise in apache logs

2012-09-12 Thread kmradke
> I have not tried it, but couldn't you do this easier by using the > Apache piped logs feature? Just send the log entries via a pipe to > a script that filters out any entries you do not want in the log. I > am not positive, but your script might even be able to write the > entries you filter

Problem with merging

2012-09-12 Thread John Maher
Hello I started using subversion a while back and doing a merge I lost a bunch of source code which prohibited me from updating production for weeks. I now have a stable code base and wish to use subversion so I tried to follow chapter 4, branching and merging. It failed. I was hoping someone co

Re: Limiting Subversion noise in apache logs

2012-09-12 Thread Mark Phippard
I have not tried it, but couldn't you do this easier by using the Apache piped logs feature? Just send the log entries via a pipe to a script that filters out any entries you do not want in the log. I am not positive, but your script might even be able to write the entries you filter into a diffe

svndumpfilter and empty revisions

2012-09-12 Thread David Newman
Hi there, I have received a subversion dump file that contains about 12000 empty revisions. There's only one subdirectory in the dump filter so I figured I could run it through svndumpfilter include subdir --drop-empty-revs --renumber-revs < src.dmp > filtered.dmp and because the empty revs don't

Re: Git smudge / Clean / Filter alike in Subversion ?

2012-09-12 Thread Laurent Alebarde
Le 12/09/2012 13:20, Stefan Sperling a écrit : On Wed, Sep 12, 2012 at 11:41:05AM +0200, Laurent Alebarde wrote: I could find examples of pre-commit hooks, for example to convert indentation from spaces to tabs or the opposite. This is very wrong. Pre-commit hooks are not supposed to modify the

Re: Git smudge / Clean / Filter alike in Subversion ?

2012-09-12 Thread Laurent Alebarde
Le 12/09/2012 13:30, Stefan Sperling a écrit : On Wed, Sep 12, 2012 at 11:40:58AM +0200, Laurent Alebarde wrote: So the best way for me woudl be to use a "dummy" workspace copy before commiting, and another one after check-outing : WS ---pre-commit-treatment-(git-clean)---> dummy WS ---commit-

Re: problem with dialog box uisng Tortoisesvn

2012-09-12 Thread Ryan Schmidt
On Sep 12, 2012, at 06:12, Carmit Shiran wrote: > Do you know if there's a way to know what is the current tag I'm working on? > Meaning: If I want to use 'svn copy' on the file I'm working on now without > sending the argument of the source file but only the tag name, is it possible > to sen

Re: problem with dialog box uisng Tortoisesvn

2012-09-12 Thread Thorsten Schöning
Guten Tag Carmit Shiran, am Mittwoch, 12. September 2012 um 13:12 schrieben Sie: > If you look at my example I sent in the previous email, you can see I > filled in the argument= $target_path : > my $target_path = "file:///C:/svn_repos3/trunk/Widget3" > But I'm looking for a way to fill it automat

Re: Git smudge / Clean / Filter alike in Subversion ?

2012-09-12 Thread Stefan Sperling
On Wed, Sep 12, 2012 at 11:40:58AM +0200, Laurent Alebarde wrote: > So the best way for me woudl be to use a "dummy" workspace copy > before commiting, and another one after check-outing : > > WS ---pre-commit-treatment-(git-clean)---> dummy WS ---commit---> Repository > > Repository ---check-out

Re: Git smudge / Clean / Filter alike in Subversion ?

2012-09-12 Thread Stefan Sperling
On Wed, Sep 12, 2012 at 11:41:05AM +0200, Laurent Alebarde wrote: > I could find examples of pre-commit hooks, for example to convert > indentation from spaces to tabs or the opposite. This is very wrong. Pre-commit hooks are not supposed to modify the content of commit transactions. Doing so caus

Re: problem with dialog box uisng Tortoisesvn

2012-09-12 Thread Carmit Shiran
Thanks! It works for me now! another short question: Do you know if there's a way to know what is the current tag I'm working on? Meaning: If I want to use 'svn copy' on the file I'm working on now without sending the argument of the source file but only the tag name, is it possible to send the 'c

RE: problem with dialog box uisng Tortoisesvn

2012-09-12 Thread Tony Sweeney
From: Carmit Shiran [mailto:carmit.shi...@gmail.com] Sent: 12 September 2012 08:14 To: Ryan Schmidt Cc: Cooke, Mark; users@subversion.apache.org Subject: Re: problem with dialog box uisng Tortoisesvn thanks for your help. Seems like I didn't have the whole svn pa

Re: Git smudge / Clean / Filter alike in Subversion ?

2012-09-12 Thread Laurent Alebarde
Le 11/09/2012 17:58, Stefan Sperling a écrit : On Tue, Sep 11, 2012 at 04:48:12PM +0200, Laurent Alebarde wrote: Le 11/09/2012 15:49, Stefan Sperling a écrit : On Tue, Sep 11, 2012 at 02:45:49PM +0200, Laurent Alebarde wrote: Thanks for your answer Stefan, Unfortunatly, no : The first link s

Re: Git smudge / Clean / Filter alike in Subversion ?

2012-09-12 Thread Laurent Alebarde
Le 11/09/2012 17:47, Ryan Schmidt a écrit : On Sep 11, 2012, at 09:48, Laurent Alebarde wrote: Le 11/09/2012 15:49, Stefan Sperling a écrit : What do you really need this feature for? I'm interested in learning more about your actual use case, the actual problem you're trying to solve, rather

Re: problem with dialog box uisng Tortoisesvn

2012-09-12 Thread Carmit Shiran
thanks for your help. Seems like I didn't have the whole svn package. I reinstalled the svn and made sure I pick the "command tool" and now the svn commands work for me. Though I have a problem with the tag command: I wrote a script in perl: my $target_path = "file:///C:/svn_repos3/trunk/Widget3"