technical architecture.

ignore file for Mercurial and Unity

by on Nov.15, 2011, under Scripting, Unity, Unity3D

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.

 


4 Comments for this entry

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...