Jezu Posted September 4, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Share Posted September 4, 2012 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! Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 4, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 04:49 PM Share Posted September 4, 2012 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. Quote Link to comment Share on other sites More sharing options...
Jezu Posted September 4, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Author Share Posted September 4, 2012 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) Quote Link to comment Share on other sites More sharing options...
Linkin Park Posted September 4, 2012 Group: Members Topic Count: 42 Topics Per Day: 0.01 Content Count: 227 Reputation: 11 Joined: 11/16/11 Last Seen: November 7, 2015 Share Posted September 4, 2012 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 Quote Link to comment Share on other sites More sharing options...
Elijah23 Posted September 4, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 292 Reputation: 17 Joined: 12/12/11 Last Seen: Thursday at 02:33 PM Share Posted September 4, 2012 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 Quote Link to comment Share on other sites More sharing options...
Jezu Posted September 4, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Author Share Posted September 4, 2012 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 So I don't have an option but to re-do all the things that I made? 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. Quote Link to comment Share on other sites More sharing options...
Elijah23 Posted September 4, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 292 Reputation: 17 Joined: 12/12/11 Last Seen: Thursday at 02:33 PM Share Posted September 4, 2012 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.. Quote Link to comment Share on other sites More sharing options...
Jezu Posted September 5, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Author Share Posted September 5, 2012 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.. Quote Link to comment Share on other sites More sharing options...
Elijah23 Posted September 5, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 292 Reputation: 17 Joined: 12/12/11 Last Seen: Thursday at 02:33 PM Share Posted September 5, 2012 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.. Quote Link to comment Share on other sites More sharing options...
Jezu Posted September 5, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Author Share Posted September 5, 2012 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. Quote Link to comment Share on other sites More sharing options...
Jezu Posted September 10, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Author Share Posted September 10, 2012 *bump* I just wanted to know how this will be solved. Quote Link to comment Share on other sites More sharing options...
GreenBox Posted September 10, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 303 Reputation: 101 Joined: 11/13/11 Last Seen: October 11, 2023 Share Posted September 10, 2012 This is why the import-tmpl dir exists, rename it to import and place your settings in those files. Quote Link to comment Share on other sites More sharing options...
Jezu Posted September 10, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Author Share Posted September 10, 2012 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. Quote Link to comment Share on other sites More sharing options...
Spre Posted October 16, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 103 Reputation: 28 Joined: 09/20/12 Last Seen: January 14, 2019 Share Posted October 16, 2012 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. 1 Quote Link to comment Share on other sites More sharing options...
Winz Posted December 20, 2012 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share Posted December 20, 2012 solved? change the category of the thread to solved. change it by full-editing the first post Quote Link to comment Share on other sites More sharing options...
Question
Jezu
Link to comment
Share on other sites
14 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.