On Wed, Jul 11, 2007 at 03:38:32PM +0200, Marcus Hüwe wrote:
On 2007-07-11 15:14:05 +0200, Stefan Dirsch wrote:
- added initial revision handling: - extended "osc co prj pac" to checkout a specific revision of pac - extended "osc up" to update to a specific revision - extended "osc diff" to diff the working copy against a specific revision on the server.
Sounds great! Unfortunately I have no idea how to figure out, which revisions are available. So what did I miss?
A log command will be implemented soon to show the revisions+commit messages (see http://lists.opensuse.org/opensuse-buildservice/2007-07/msg00064.htm). For now you have to run "osc info /path/to/working_copy" to see the current revision of your working copy (not the upstream one) :/ Small (ugly) workaround for the upstream revision: curl -u user:pass -X GET https://api.opensuse.org/source/project/package | grep rev
I just checked in the following change: - implementing a provisionary log command for the commit log - renamed log command to buildlog (short: bl) - commit: implemented -m option for the commit message - commit files together, if (and only if) do_commits = 1 is set in the [general] section of .oscrc I found that I had already code in place for the commit with username and message, it was just waiting for a -m option, and actually the commit method is subject to change, but for now it could be useful nevertheless. However, it is hardly tested yet. Please, if you are willing to take a risk for certain packages, set do_commits = 1 in .oscrc and let me know how it works. (If it works, the username and commit message can be seen in the commit log later.) Peter -- Allen Gewalten zum Trutz sich erhalten. SUSE LINUX Products GmbH Research & Development