Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

prompt for user syncing

  • Loading branch information...
commit 87412018a06bbb7e9aa1074b73784612cb81c1d1 1 parent 2ed3739
@benwyrosdick benwyrosdick authored pedro committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/heroku/command/mongo.rb
View
2  lib/heroku/command/mongo.rb
@@ -48,6 +48,8 @@ def transfer(from, to)
end
display " done"
+ display "Do you want to replace the users also? (y/n) ", false
+ return unless ask.downcase == 'y'
display "Syncing users...", false
dest_user_col = dest.collection('system.users')
origin_user_col = origin.collection('system.users')
Please sign in to comment.
Something went wrong with that request. Please try again.