http://bugzilla.novell.com/show_bug.cgi?id=494370
Summary: Failed commit leaves package in unusable state
Classification: openSUSE
Product: openSUSE.org
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Blocker
Priority: P5 - None
Component: BuildService
AssignedTo: adrian@novell.com
ReportedBy: agruen@novell.com
QAContact: adrian@novell.com
Found By: ---
Andreas Gruenbacher changed:
What |Removed |Added
----------------------------------------------------------------------------
Flag| |SHIP_STOPPER?
I had a network failure during a commit. The package now contains changes from
the commit, but the revision list is still empty. This is pretty catastrophic.
$ osc meta pkg -e home:agruen/test
[edit metadata]
$ osc co home:agruen/test
A home:agruen/test
$ cd home:agruen/test
$ echo foo > foo
$ echo bar > bar
$ osc addremove
A bar
A foo
$ osc commit -m '- First commit.'
Sending bar
Sending foo
Transmitting file data ..Failed to reach a server: (-2, 'Name or service not
known')
$ osc commit -m '- First commit.'
Working copy '/home/agruen/osc/home:agruen/test' is out of date (rev None vs
rev upload).
Looks as if you need to update it first.
$ osc update
At revision upload.
$ cd ../..
$ osc co home:agruen/test
A home:agruen/test/bar
A home:agruen/test/foo
$ cd home:agruen/test
$ osc status
$ osc log
----------------------------------------------------------------------------
$ osc ls home:agruen/test
bar
foo
$ osc update
At revision upload.
$ osc commit -m '- First commit.'
nothing to do for package test
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.