joyent/node — pull request #4402 by tricknotes (2012-12-11 10:16:43+00:00)
Title: repl: remove 'repl' from automatic loading libs

In repl, calling `repl` **twice** shows the following message:
```
> repl // repl loaded
{...}
> repl
A different "repl" already exists globally
```

Because `require('repl')` doesn't use cache of `require`, it always creates a new object when `require('repl')` is called.
- https://github.com/joyent/node/blob/v0.8/lib/module.js#L287-L294

I might be able to treat `'repl'` special in repl.
But I think that `require('repl')` in repl is a rarely case.
(if it required, everyone can call `var repl = require('repl')` in manually.)

Threrfore I remove `'repl'` from automatic loading libs.