You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Erick Erickson <er...@gmail.com> on 2012/01/12 22:00:31 UTC

Crap, SVN and I aren't getting along.

I think I managed to screw up the checkin for SOLR-2906 and break the
build. I'm looking at it.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: Crap, SVN and I aren't getting along.

Posted by Lance Norskog <go...@gmail.com>.
Use git. Managing patches is an order of magnitude easier.

On Thu, Jan 12, 2012 at 6:40 PM, Chris Hostetter
<ho...@fucit.org> wrote:
>
> : This only affected trunk. The problem was  that I managed to apply the
> : patch multiple times after I ran the tests before checking in the
> : first time. I do not understand why patch will append content if you
> : apply the same patch repeatedly, but there it is.
>
> it's because the patch command doesn't know about adding new files --
> patches that add new files are essentially just instructions replace line
> 0 with a bunch of lines ... so no conflict bells go off if you apply the
> patch multiple times (the file just keeps growing)
>
> -Hoss
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>



-- 
Lance Norskog
goksron@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: Crap, SVN and I aren't getting along.

Posted by Chris Hostetter <ho...@fucit.org>.
: This only affected trunk. The problem was  that I managed to apply the
: patch multiple times after I ran the tests before checking in the
: first time. I do not understand why patch will append content if you
: apply the same patch repeatedly, but there it is.

it's because the patch command doesn't know about adding new files -- 
patches that add new files are essentially just instructions replace line 
0 with a bunch of lines ... so no conflict bells go off if you apply the 
patch multiple times (the file just keeps growing)

-Hoss

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: Crap, SVN and I aren't getting along.

Posted by Erick Erickson <er...@gmail.com>.
OK, I checked in code to correct the problem, and put an appropriate
note in the bug. Re-running tests now to be sure things are really OK
since I managed to mess up before.

This only affected trunk. The problem was  that I managed to apply the
patch multiple times after I ran the tests before checking in the
first time. I do not understand why patch will append content if you
apply the same patch repeatedly, but there it is.



On Thu, Jan 12, 2012 at 4:00 PM, Erick Erickson <er...@gmail.com> wrote:
> I think I managed to screw up the checkin for SOLR-2906 and break the
> build. I'm looking at it.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org