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

Re: Branch issue

From: Jan De Luyck <mailinglists+users-subversion_at_kcore.org>
Date: Mon, 4 May 2015 15:49:20 +0200

While I agree with that, this is not a possibility right now. So I'm just
looking for an easy way to manage this, save from pulling diffs and
reapplying them.

Jan

On Mon, May 4, 2015 at 3:26 PM, KM <info4km_at_yahoo.com> wrote:

> In my opinion this sounds more like a coding issue than a source control
> issue, unless I am misunderstanding you. I don't think svn should be used
> to control the contents of your files. You need to make the script generic
> so one version will work for all versions of RHEL. Then you may control
> one script with svn.
>
> There are probably plenty of shell programming mechanisms you may use to
> get the script to be more vanilla or generic and work on all RHEL
> versions. If they indeed need to be very different then you should control
> them separately.
>
> This is just my opinion though.
> KM
>
> ------------------------------
> *From:* Jan De Luyck <mailinglists+users-subversion_at_kcore.org>
> *To:* users_at_subversion.apache.org
> *Sent:* Monday, May 4, 2015 8:14 AM
> *Subject:* Branch issue
>
> Hello folks,
>
> Perhaps a stupid subversion question, but one i haven't been able to
> figure out yet:
>
> I've got two scripts in the same directory, which are basically variants -
> one for RHEL6, one for RHEL7. Most of the content will be the same, with
> small changes here and there. The files are named according to the RHEL
> version.
>
> Unfortunatly the scripts have to be completely self-contained, so using
> modules/shared libraries/... is not an option.
>
> Ideally I'd like to only have to manage one script, and pull the changes
> into the second. But sofar I haven't figured out a way yet to do this. The
> only thing I thought of is moving both to a separate dir, and branching one
> from the other. Doesn't seem ideal though.
>
> Any pointers/ideas how I could tackle this?
>
> Kind regards
>
> Jan
>
>
>
>
>
Received on 2015-05-04 15:50:35 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.