Jump to content
  • 0

[Linux Problem] rA updates conflicting my custom settings.


Jezu

Question


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

Hello rA community,

I wanted to know how to make this..

If I update my current SVN (rA), there is a conflict and it will change my custom settings, I wanted to know how to keep my custom settings while applying the SVN changes.

Thanks a lot rA and more powers!
Link to comment
Share on other sites

14 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

you can create a diff using your current svn that contain your custom settings...

but not sure it can apply in future svn since the structures / contains might have changed

the way i use.....redo everything..xD hahaha

maybe there is other way....not sure.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

there's a command appearing on linux listed..

tf = theirs-full (if I choose this, all my custom settings will gone)

mf = mine-full (if I choose this, my custom settings will stay but the updates will not be applied)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   11
  • Joined:  11/16/11
  • Last Seen:  

I check first what my current revision is, then check all files that will be affected by the update, back it up, then update. If there's a conflict I use mine-conflict or mine-full then just apply the updates manually.

Or your custom settings isn't that 'huge' re-do it with a fresh svn like what Emistry said :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  292
  • Reputation:   17
  • Joined:  12/12/11
  • Last Seen:  

were this settings based on battle conf? if they are based there, the best thing to do is copy all the custom settings you have made in the battle.txt in import folder :) same with other settings that can be place there

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

I check first what my current revision is, then check all files that will be affected by the update, back it up, then update. If there's a conflict I use mine-conflict or mine-full then just apply the updates manually.

Or your custom settings isn't that 'huge' re-do it with a fresh svn like what Emistry said :P

So I don't have an option but to re-do all the things that I made? /sob

were this settings based on battle conf? if they are based there, the best thing to do is copy all the custom settings you have made in the battle.txt in import folder :) same with other settings that can be place there

My battle configs are on import so no worries on that... I just having a problem in src, db's and some npc to make my needs on my server. /sob

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  292
  • Reputation:   17
  • Joined:  12/12/11
  • Last Seen:  

What I usually do is checkout 2 SVNs.. :)

One who gets the updates automatically and one for my customizations.. :)

Make a patch for your source files and make your own svn.. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

In tortoise, you can merge your changes while the updates applied... I don't know what command do I need on Linux to make like this.. /sob

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  292
  • Reputation:   17
  • Joined:  12/12/11
  • Last Seen:  

yeah you can merge the changes in tortoise that's why I do it on my own computer.. :)

When the changes merged, I'll then commit the changes in my own svn where in my working copy in linux will get the updates.. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

yeah you can merge the changes in tortoise that's why I do it on my own computer.. :)

When the changes merged, I'll then commit the changes in my own svn where in my working copy in linux will get the updates.. :)

some custom settings of mine and rA updates is merged when I use diff-full (df) and then resolve ( r).. but if the updates is bigger, it will change everything to the updates and your custom settings will gone... I hope there is an alternative way for this. /sob

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

*bump*

I just wanted to know how this will be solved.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   101
  • Joined:  11/13/11
  • Last Seen:  

This is why the import-tmpl dir exists, rename it to import and place your settings in those files.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

This is why the import-tmpl dir exists, rename it to import and place your settings in those files.

Yeah, but I also have source modification and edited npc which is some are come from svn.. its really hard to manually update so my custom one will not be changed.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  103
  • Reputation:   28
  • Joined:  09/20/12
  • Last Seen:  

It is pretty simple...

svn diff mychangedfile1 dir1/dir2/mychangeresource2 > mypatch.txt

to create a diff with your custom settings, this WILL include NPC's as they are in the SVN

to apply the patch after you update to latest

patch -p0 < patch.txt

if you get an unknocown command error then you need patch.

now I will assume you have a redhat centos tye system if so just

yum install patch

if that gets nothing then

yum search patch

if still nothing you need more repos, in that case run the following commands

FIRST:

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm

THEN:

rpm -ivh rpmforge-release-0.5.2-2.el5.rf.i386.rpm

that installs the rpmforge repo

THEN:

wget -q -O - http://www.atomicorp.com/installers/atomic | sh ; yum update

this installs AND updates with the atomic repo, atomic has ALOT of updated packages that the default repos have.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

solved? change the category of the thread to solved. change it by full-editing the first post :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...