Expand links when checking out a single file. master
authorRohan McGovern <rohan.mcgovern@nokia.com>
Thu, 30 Dec 2010 01:31:28 +0000 (11:31 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Thu, 30 Dec 2010 01:36:33 +0000 (11:36 +1000)
commit75066fa453908decfbdf621dea9c149f769fbf74
treec5869039f0752520331b19c09e2b1c0033002d66
parent01fc46cbd3c8f68a8a87c5dd7f494120e5fa4397
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