Mailinglist Archive: opensuse-bugs (4065 mails)

< Previous Next >
[Bug 665891] git version of osc can't checkout a single file from devel project

https://bugzilla.novell.com/show_bug.cgi?id=665891

https://bugzilla.novell.com/show_bug.cgi?id=665891#c2


--- Comment #2 from Vitezslav Cizek <vcizek@xxxxxxxxxx> 2011-01-21 13:51:34 UTC
---
2d5b853aa03bda301ce9e70af8ea7cbe3373b5ef is the first bad commit
commit 2d5b853aa03bda301ce9e70af8ea7cbe3373b5ef
Author: Rohan McGovern <rohan.mcgovern@xxxxxxxxx>
Date: Thu Dec 30 11:31:28 2010 +1000

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.

I don't know if this is supposed to be a feature, but
osc cat prj pkg file
and
osc co prj pkg file
now returns a file from different project,
which is at least odd.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References