Jump to content
  • 0

How to update my svn without losing anything.


Tales

Question


  • Group:  Members
  • Topic Count:  163
  • Topics Per Day:  0.04
  • Content Count:  319
  • Reputation:   8
  • Joined:  02/05/12
  • Last Seen:  

I need to up to date my svn. How can i do it?

 

@EDIT

 

Using Linux Host via Putty and Command-line.

 

 

@EDIT

 

 

http://rathena.org/board/topic/56504-help-how-to-update-svn-version/

 

@EDIT

 

I have many changes in my src. I'll lost it?

Edited by Tales
Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  420
  • Reputation:   89
  • Joined:  01/30/12
  • Last Seen:  

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)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  163
  • Topics Per Day:  0.04
  • Content Count:  319
  • Reputation:   8
  • Joined:  02/05/12
  • Last Seen:  

Sorry for my mistake. Im using GIT. I want to know how to update him.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

Sorry for my mistake. Im using GIT. I want to know how to update him.

check this

http://rathena.org/board/topic/87120-transitioning-from-svn-to-git/

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:  

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")

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  163
  • Topics Per Day:  0.04
  • Content Count:  319
  • Reputation:   8
  • Joined:  02/05/12
  • Last Seen:  

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
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:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  163
  • Topics Per Day:  0.04
  • Content Count:  319
  • Reputation:   8
  • Joined:  02/05/12
  • Last Seen:  

Thanks! Problem Solved!

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...