Depot#files now returns an empty array for empty depots
authorLunar <lunar@anargeek.net>
Tue, 28 Feb 2012 11:21:31 +0000 (12:21 +0100)
committerLunar <lunar@anargeek.net>
Fri, 23 Mar 2012 17:11:28 +0000 (18:11 +0100)
commit8b5db3e9fd3aad87f9a9273f7ab33860561596ad
treeadf7059490c4232aea8543da8f80b3e63678aa2e
parentd90f551aad7e95332298f689510cccae6280df95
Depot#files now returns an empty array for empty depots

In a brand new depot, there will not be any `.links` file. Instead of raising
an error, let's return an empty array instead, better reflecting the current
state of the depot.
lib/coquelicot/depot.rb