It has become common practice to implement robot.txt files to prevent the search engine spiders from crawling your webpage and having it show up in the search engine results page (SERP). Unfortunately, robots.txt does not prevent your site from showing up in the search engine results. That means your web page is passing on link juice that is unused and wasted. It does prevent your site from being indexed, but it could show a result in the SERP’s. It will not have a description of your site, only a URL and strange title.
Matt Cutt’s from Google explains this in his video
A better way to prevent a web site from being crawled and indexed in the search engines is to use a robots meta tag a X robots-tag http header .htaccess file to your website.
Meta Tag
Adding the met tag < name=”robots” content=”noindex,nofollow”> lets the search engine’s spider know not to index or follow your website and show it in the search results. This is a useful snippet and can be very beneficial. The downside to this is that you have to hand code this into every page on your web site. This can be impossible for larger sites with tens of thousands of pages.
X robots-tag http header .htaccess
The new tag allows you to create a HTTP header called X-Robots-Tag and set the value as you would the meta robots tag value. This will set up the file for the entire site making your life much easier. So, if your site is running on Apache, and mod_headers is enabled (it usually is), you could add the following single line to your .htaccess file: Header set X-Robots-Tag “noindex, nofollow”