                          try
                              lock = misc.from_json(output.stdout)
                              if lock.expire > misc.walltime()
-                                 cb("project at #{user} is currently locked")
+                                 mesg = "create_lock: project at #{user} is currently locked"
+                                 winston.debug(mesg)
+                                 cb(mesg)
                                  return
                          catch e
                              # corrupt lock file -- we take over


    info = opts.rollback_info

    winston.debug("Rolling back last commit attempt in '#{info.bup_dir}'")

    async.series([
        (cb) ->
            if info.master?
                fs.writeFile "#{info.bup_dir}/refs/heads/master", info.master, cb
            else
                cb()
        (cb) ->

                cb()
        (cb) ->
            monitor_snapshot_queue()
            setInterval(ensure_snapshot_queue_working, 60000) 
            cb()
        (cb) ->
            setInterval(register_with_database, 1000*registration_interval_seconds)
