     constructor: (@project_id, @global_client) ->
         @database = @global_client.database
 
-    get_location_pref: (cb) =>
+    get_location_pref: (cb) =>   # db(err, server_id)
         @database.select_one
             table   : "projects"
             columns : ["bup_location"]

                                    if x.host == '' # special case - the server hosting the project
                                        s = server_id
                                    else
                                        s = @global_client.servers.by_host[x.host].server_id
                                    if not x.error?
                                        last_save[s] = r.timestamp*1000
                                    else

                                if x.host == '' # special case - the server hosting the project
                                    s = server_id
                                else
                                    s = targets[x.host]
                                if not x.error?
                                    last_save[s] = tm
                                else
