Permalink
Browse files

API compliance

  • Loading branch information...
1 parent 25afa26 commit 8665fcf78c7059bf8cb692d99e604fe48a083785 michaeledgar@michael-edgars-macbook-pro.local committed Dec 15, 2009
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/amp/repository/mercurial/repositories/local_repository.rb
@@ -221,14 +221,14 @@ def lock_store(wait = true)
end
##
- # Locks the repository's .hg/store directory. Returns the lock, or if a block is given,
+ # Locks the repository's working directory. Returns the lock, or if a block is given,
# runs the block with the lock, and clears the lock afterward.
#
# @yield When a block is given, that block is executed under locked
# conditions. That code can be guaranteed it is the only code running on the
# working directory in a destructive manner.
# @param [Boolean] wait (true) wait for the lock to expire?
- # @return [Lock] the lock on the .hg/store directory
+ # @return [Lock] the lock on the working directory
def lock_working(wait = true)
return @working_lock_ref if @working_lock_ref && @working_lock_ref.weakref_alive?
@@ -1455,7 +1455,6 @@ def add(*paths)
else
# else add it
dirstate.add file
- #Amp::Logger.info("added #{file}")
end
end

0 comments on commit 8665fcf

Please sign in to comment.