[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: hint of the day

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Thu, 2 Sep 2010 17:43:27 -0400

Don't name it "BRANCHES". Name it "BRANCHES.txt", to avoid confusion
with actual Subversion branches and with filesystems that mishandle
mixed case and don't allow "branches" and "BRANCHES" in the same
directory.

On Thu, Sep 2, 2010 at 3:28 PM, Jeremy Mordkoff <jlm_at_zeevee.com> wrote:
> The attached archive has 3 files in it
>
>
>
> BRANCHES is the key file. It lives in the root of trunk. BRANCHES lists all
> known branches and where they should be merged to. Project branches should
> have two entries, one “out” to make sure the project branch is staying up to
> date, and one “in” to make sure that the project merges to somewhere useful
> someday. There are comments and examples in BRANCHES.
>
>
>
> changes is a script that checks for all commits since the last time it was
> run and categorizes them by branch and component (any directory under trunk
> is a component). It emits a warning if I finds a branch not listed in
> BRANCHES.
>
>
>
> tomerge is a script that reminds you of what needs to be merged and from
> where to where.
>
>
>
> I run changes and tomerge –c every morning.
>
>
>
> The path to the repository is hardcoded, as is the location of a workspace.
> I’d be open to any ideas as to how these could be calculated.
>
>
>
> JLM
>
>
>
>
>
>
>
> Jeremy Mordkoff
>
> Director, QA, IT & Release
>
> ZeeVee, Inc.
>
> One Monarch Drive | Littleton, MA 01460
>
> Office: 978.467.1395 x233 | Fax: 978.467.1404
>
> Mobile: 978-257-2183
>
> jlm_at_zeevee.com
>
> www.zeevee.com
>
>
>
> From: Erik Andersson [mailto:kirean_at_gmail.com]
> Sent: Wednesday, September 01, 2010 8:54 AM
> To: Jeremy Mordkoff
> Cc: users_at_subversion.apache.org
> Subject: Re: hint of the day
>
>
>
>
>
> On Wed, Sep 1, 2010 at 2:11 PM, Jeremy Mordkoff <jlm_at_zeevee.com> wrote:
>
> Just an FYI for anyone that does merging.
>
> I just spent an hour cleaning up a mess with my mergeinfo's. I missed a hint
> that I was about to do something really stupid.
>
> Here's the merge:
>
>
> [release_at_zaz1 rel_2_5]$ svn merge $B/rel_2_5_3
> --- Merging r14352 through r14594 into '.':
> U    lcast/build/images/nand/root/lcast/etc/post_install.sh
> U    lcast/build/images/nand/root/lcast/etc/lc_UpdateNOR.sh
>  G   .
> [release_at_zaz1 rel_2_5]$ svn commit -m 'merge from rel_2_5_3 of a fix made in
> trunk'
> Sending        .
> Sending        lcast/build/images/nand/root/lcast/etc/lc_UpdateNOR.sh
> Sending        lcast/build/images/nand/root/lcast/etc/post_install.sh
> Transmitting file data ..
> Committed revision 14595.
>
>
> The hint I missed was the G next to the '.'. That should have told me that
> there were changes in my workspace, and since I never knowingly commit local
> changes and merges at the same time, I should have stopped right there.
>
> Also, I have some tools that I use to keep track of branches and stuff. Is
> there a good place to publish them?
>
> I'd like to see them very much. If you don't publish them anywhere, please
> send them my way.
>
>
>
> Cheers / Erik
>
> JLM
>
>
Received on 2010-09-02 23:44:21 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.