Jump to content
  • 0

How to update my svn without losing anything.


Question

8 answers to this question

Recommended Posts

Posted

I sincerely hope you are not using the SVN repo, since it was abandoned. We use GIT. You can use the SVN client to pull from the GIT repo, so there's no problem, but if you used the SVN repo till this point, you will need to check yout a new server from the GIT repo. You can copy-paste your configs and npcs, so those and your stored data will be intact, but source mods will be gone.

 

If you used GIT previously, just do a regular update, and when prompted because of conflicts, choose as you wish (use server version/use your version/merge)

Posted (edited)

update the GIT?

1. go to your rA's folder, untill you can see "runserver.bat" or "athena-start"

2. <command> git stash

3. git pull

4. git stash pop

 

then, git will tell you that there are differences.

The rest are here: https://rtcamp.com/tutorials/git/git-resolve-merge-conflicts/

(skip "Find files with merge conflict")

 

Let me try it now...

@EDIT

Look this 

 

fatal: Not a git repository (or any of the parent directories): .git
Edited by Tales
Posted

it is caused because the folder IS NOT a git folder.

a git folder shall have .git folder inside it and is hidden.

 

maybe, you want to do SVN transitioning to GIT for this. IDK..http://rathena.org/wiki/Transition_from_SVN_to_GIT

 

or I can suggest you this:

1. git clone from rA's GIT (git clone https://github.com/rathena/rathena.git ~/rAthena)

2. merge the modified files between your old one and the fresh one

 

that's it. google for any references. I can't explain about merging.

  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...