Expand links when checking out a single file.
authorRohan McGovern <rohan.mcgovern@nokia.com>
Thu, 30 Dec 2010 01:31:28 +0000 (11:31 +1000)
committerAdrian Schröter <adrian@suse.de>
Tue, 11 Jan 2011 18:56:29 +0000 (19:56 +0100)
commit2d5b853aa03bda301ce9e70af8ea7cbe3373b5ef
tree45277bd7c05bb6dce9657cce19cf3ca0a16584cc
parent06e285130b67362c47f7045dced4fdba666c0fc6
Expand links when checking out a single file.

Prior to this change, `osc co PROJECT' and `osc co PROJECT PACKAGE'
would both follow links, but `osc co PROJECT PACKAGE FILE' would not.

To make matters even more confusing, `osc ls PROJECT PACKAGE FILE'
does follow links - so, for linked files, an `ls' would tell you a file
exists, then `co' would give a 404 error.

This change fixes the inconsistency.
osc/commandline.py