Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: nopecio on March 31, 2014, 07:12:50 PM

Title: About a better way to update NGUI
Post by: nopecio on March 31, 2014, 07:12:50 PM
Hi, i know the recommended method for upgrading NGUI is create a new scene, delete the NGUI folder and the re import it.
But if you're using any version control system, and NGUI is already in it (as in my case), it will break the internal folder structure, making the version system stop recognizing NGUI as a valid folder (Was on VCS, but now the control folders -such as .svn, .git, etc.- are gone and can't sync back)
I'm sure this is to workaround a unity limitation, but i feel a better way must exists.
Just my 2 cents.
Regards!
Title: Re: About a better way to update NGUI
Post by: Ferazel on March 31, 2014, 07:23:28 PM
We use GIT and this is not a problem since there is only a .git at the parent level of the repository. In fact with GIT it will recognize that the files are virtually the same and keep the revisions.

I haven't used SVN since I switched to GIT, but don't new versions of SVN also just keep a single root level .svn folder?
Title: Re: About a better way to update NGUI
Post by: nopecio on March 31, 2014, 07:35:22 PM
Well, it's seems like it doesn't (i'm svn shipped with osx 10.8)... Time to start learning git (other than the basic pull-commit)
thanks for your comments!