Here’s a working ignore file for use of Unity and Mercurial simple, but slightly different from the instructions posted in the current docs, so figured i’d pass it on for anyone else who cares to check it out.
placed in a plain text file named .htignore in your project directory
syntax: glob *.tmproj *.pidb *.sln *.userprefs *.csproj *.unityproj AnnotationManager assetDatabase3 AssetImportState assetservercachev3 AssetVersioning.db BuildPlayer.prefs BuildSettings.asset EditorSettings.asset EditorUserBuildSettings.asset expandedItems FailedAssetImports.txt guidmapper InspectorExpandedItems.asset MonoManager.asset ScriptMapper cache/* Temp/* metadata/* ScriptAssemblies/* previews/*
The Mercurial in Daily Use guide seems to be a good list of things that you might wish to do
Some notes for myself, but might be useful to someone else getting started also.
edit: To start a local serve on my workstation that my laptop can push to, use the command line
hg serve –config web.push_ssl=No –config “web.allow_push=*”
to pass your changes up from the laptop to the workstation:
hg push http://workstationname:8000
and on the workstation use:
hg update
to get the latest updated file revisions locally..
and you’re sync’d. fun times.
Src: http://buchhofer.com/2011/11/ignore-file-for-mercurial-and-unity/
Src: http://buchhofer.com/2011/11/ignore-file-for-mercurial-and-unity/
Комментариев нет:
Отправить комментарий