The following is the recommended way by google if you want to storing Javascript files in google code
Installing TortoiseSVN
Visit this site http://tortoisesvn.net/downloads.html. Download and install the application. Once installed, the computer must be restarted for this application will be integrated with the context menu / right click menu (shell command).
Then right-click on the desktop. Select the TortoiseSVN -> Settings:
Dialog box will appear like this. Click on General and click the Edit button:
Once the config file is open, copy this code and place it under comment # Makefile = svn:eol-style=native
[miscellany]enable-auto-props = yes
[auto-props]# Scriptish formats*.bat = svn:eol-style=native; svn:keywords=Id; svn-mine-type=text/plain*.bsh = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/x-beanshell*.cgi = svn:eol-style=native; svn:keywords=Id; svn-mine-type=text/plain*.cmd = svn:eol-style=native; svn:keywords=Id; svn-mine-type=text/plain*.js = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/javascript*.php = svn:eol-style=native; svn:keywords=Id Rev Date; svn:mime-type=text/x-php*.pl = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/x-perl; svn:executable*.pm = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/x-perl*.py = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/x-python; svn:executable*.sh = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/x-sh; svn:executable
# Image formats*.bmp = svn:mime-type=image/bmp*.gif = svn:mime-type=image/gif*.ico = svn:mime-type=image/ico*.jpeg = svn:mime-type=image/jpeg*.jpg = svn:mime-type=image/jpeg*.png = svn:mime-type=image/png*.tif = svn:mime-type=image/tiff*.tiff = svn:mime-type=image/tiff
# Data formats*.pdf = svn:mime-type=application/pdf*.avi = svn:mime-type=video/avi*.doc = svn:mime-type=application/msword*.eps = svn:mime-type=application/postscript*.gz = svn:mime-type=application/gzip*.mov = svn:mime-type=video/quicktime*.mp3 = svn:mime-type=audio/mpeg*.ppt = svn:mime-type=application/vnd.ms-powerpoint*.ps = svn:mime-type=application/postscript*.psd = svn:mime-type=application/photoshop*.rtf = svn:mime-type=text/rtf*.swf = svn:mime-type=application/x-shockwave-flash*.tgz = svn:mime-type=application/gzip*.wav = svn:mime-type=audio/wav*.xls = svn:mime-type=application/vnd.ms-excel*.zip = svn:mime-type=application/zip
# Text formats.htaccess = svn:mime-type=text/plain*.css = svn:mime-type=text/css*.dtd = svn:mime-type=text/xml*.html = svn:mime-type=text/html*.ini = svn:mime-type=text/plain*.sql = svn:mime-type=text/x-sql*.txt = svn:mime-type=text/plain*.xhtml = svn:mime-type=text/xhtml+xml*.xml = svn:mime-type=text/xml*.xsd = svn:mime-type=text/xml*.xsl = svn:mime-type=text/xml*.xslt = svn:mime-type=text/xml*.xul = svn:mime-type=text/xul*.yml = svn:mime-type=text/plainCHANGES = svn:mime-type=text/plainCOPYING = svn:mime-type=text/plainINSTALL = svn:mime-type=text/plainMakefile* = svn:mime-type=text/plainREADME = svn:mime-type=text/plainTODO = svn:mime-type=text/plain
# Code formats*.c = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/plain*.cpp = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/plain*.h = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/plain*.java = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/plain*.as = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/plain*.mxml = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/plain
# Webfonts*.eot = svn:mime-type=application/vnd.ms-fontobject*.woff = svn:mime-type=application/x-font-woff*.ttf = svn:mime-type=application/x-font-truetype*.svg = svn:mime-type=image/svg+xml
Save the changes you did. Allow up here first
Then right-click on the desktop. Select the TortoiseSVN -> Settings:
[auto-props]# Scriptish formats*.bat = svn:eol-style=native; svn:keywords=Id; svn-mine-type=text/plain*.bsh = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/x-beanshell*.cgi = svn:eol-style=native; svn:keywords=Id; svn-mine-type=text/plain*.cmd = svn:eol-style=native; svn:keywords=Id; svn-mine-type=text/plain*.js = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/javascript*.php = svn:eol-style=native; svn:keywords=Id Rev Date; svn:mime-type=text/x-php*.pl = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/x-perl; svn:executable*.pm = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/x-perl*.py = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/x-python; svn:executable*.sh = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/x-sh; svn:executable
# Image formats*.bmp = svn:mime-type=image/bmp*.gif = svn:mime-type=image/gif*.ico = svn:mime-type=image/ico*.jpeg = svn:mime-type=image/jpeg*.jpg = svn:mime-type=image/jpeg*.png = svn:mime-type=image/png*.tif = svn:mime-type=image/tiff*.tiff = svn:mime-type=image/tiff
# Data formats*.pdf = svn:mime-type=application/pdf*.avi = svn:mime-type=video/avi*.doc = svn:mime-type=application/msword*.eps = svn:mime-type=application/postscript*.gz = svn:mime-type=application/gzip*.mov = svn:mime-type=video/quicktime*.mp3 = svn:mime-type=audio/mpeg*.ppt = svn:mime-type=application/vnd.ms-powerpoint*.ps = svn:mime-type=application/postscript*.psd = svn:mime-type=application/photoshop*.rtf = svn:mime-type=text/rtf*.swf = svn:mime-type=application/x-shockwave-flash*.tgz = svn:mime-type=application/gzip*.wav = svn:mime-type=audio/wav*.xls = svn:mime-type=application/vnd.ms-excel*.zip = svn:mime-type=application/zip
# Text formats.htaccess = svn:mime-type=text/plain*.css = svn:mime-type=text/css*.dtd = svn:mime-type=text/xml*.html = svn:mime-type=text/html*.ini = svn:mime-type=text/plain*.sql = svn:mime-type=text/x-sql*.txt = svn:mime-type=text/plain*.xhtml = svn:mime-type=text/xhtml+xml*.xml = svn:mime-type=text/xml*.xsd = svn:mime-type=text/xml*.xsl = svn:mime-type=text/xml*.xslt = svn:mime-type=text/xml*.xul = svn:mime-type=text/xul*.yml = svn:mime-type=text/plainCHANGES = svn:mime-type=text/plainCOPYING = svn:mime-type=text/plainINSTALL = svn:mime-type=text/plainMakefile* = svn:mime-type=text/plainREADME = svn:mime-type=text/plainTODO = svn:mime-type=text/plain
# Code formats*.c = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/plain*.cpp = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/plain*.h = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/plain*.java = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/plain*.as = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/plain*.mxml = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/plain
# Webfonts*.eot = svn:mime-type=application/vnd.ms-fontobject*.woff = svn:mime-type=application/x-font-woff*.ttf = svn:mime-type=application/x-font-truetype*.svg = svn:mime-type=image/svg+xml
Save the changes you did. Allow up here first
Creating a New Project Page
If you do not have a Google account, created first in order to get access to Google Code. Visit http://code.google.com, and then click Create A New Project:
Fill out the form, adjust options version control system to Subversion, and select the license that you wish to upload files there:
Click Create Project. You'll be taken to your new project dashboard page if it is successful. Click the Source tab and then click the link to create a password googlecode.com password. It is used to connect the application with your Google project:
Record the password that appears:
If you do not have a Google account, created first in order to get access to Google Code. Visit http://code.google.com, and then click Create A New Project:
Fill out the form, adjust options version control system to Subversion, and select the license that you wish to upload files there:
Click Create Project. You'll be taken to your new project dashboard page if it is successful. Click the Source tab and then click the link to create a password googlecode.com password. It is used to connect the application with your Google project:
Record the password that appears:
Start Uploading
Open the TortoiseSVN application by right clicking on the desktop and select TortoiseSVN » Repo Browser:
Will display a dialog box to enter the URL of the project:
URL pattern is always shaped like this:
https://project_name.googlecode.com/svn/trunk/
To be remembered and most often made failed in file upload: When writing the URL in the application project, using https, but when you want to see the results or access their work online, use the http
Click OK. Wait until the loading process is complete.
Open the folder where you want to upload the file there. Drag the file you want to upload the file list area:
Wait a moment, you will be prompted to authenticate your Google account code like this:
Fill your email address and password that you've previously recorded. check the Save authentication so that we do not need to repeatedly log in when uploading files in the future.
If the file is successfully uploaded it will look like the following.
Click on the name of the file that has been uploaded (1)
Copy the link on the address bar (2) and then replace the main Javascript link of the theme
Open the TortoiseSVN application by right clicking on the desktop and select TortoiseSVN » Repo Browser:
Will display a dialog box to enter the URL of the project:
URL pattern is always shaped like this:
https://project_name.googlecode.com/svn/trunk/
To be remembered and most often made failed in file upload: When writing the URL in the application project, using https, but when you want to see the results or access their work online, use the http
Click OK. Wait until the loading process is complete.
Open the folder where you want to upload the file there. Drag the file you want to upload the file list area:
Wait a moment, you will be prompted to authenticate your Google account code like this:
Fill your email address and password that you've previously recorded. check the Save authentication so that we do not need to repeatedly log in when uploading files in the future.
If the file is successfully uploaded it will look like the following.
Click on the name of the file that has been uploaded (1)
Post a Comment