summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2013-05-23 21:21:46 +0100
committerRichard Maw <richard.maw@gmail.com>2013-05-23 21:21:46 +0100
commit70aa8bc575257393b933dfd2e5cbe29e47ec3db0 (patch)
tree3ef91d489352664d3eaa7cb57ae0a93313a544aa
parentca95775ad1bf14088333b86677525cecb62f0aef (diff)
downloadgitano-70aa8bc575257393b933dfd2e5cbe29e47ec3db0.tar.bz2
command: fix a typo in rename's error handler
-rw-r--r--lib/gitano/command.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitano/command.lua b/lib/gitano/command.lua
index da20dea..f8b25a8 100644
--- a/lib/gitano/command.lua
+++ b/lib/gitano/command.lua
@@ -740,7 +740,7 @@ local function builtin_rename_prep(config, repo, cmdline, context)
local ctx, action, reason
-- Check 0, is the current repo nascent
if repo.is_nascent then
- return "deny", "Cannot rename a repository which does not exit"
+ return "deny", "Cannot rename a repository which does not exist"
end
-- Check 1, read current repo
ctx = util.deep_copy(context)