From d9fdee2730afa9094f966db48e51ff744d84835d Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 01 May 2014 16:28:30 -0400 Subject: include_changes(): Refactor to fix odd behavior. Before: $ pro-archman -b proteanos process-incoming pro-archman: Processing changes in incoming... pro-archman: Including opkg (0.2.2-1) into dev/trunk... pro-archman: Removing package opkg from suite dev/trunk... rmdir: failed to remove `proteanos/feeds/dev/trunk/all/all//.db//info': No such file or directory /usr/bin/pro-archman: 15: cannot create proteanos/feeds/.db/dev_trunk/all_all//: Is a directory rmdir: failed to remove `proteanos/feeds/dev/trunk/amd64-linux-glibc/all//.db//info': No such file or directory /usr/bin/pro-archman: 15: cannot create proteanos/feeds/.db/dev_trunk/amd64-linux-glibc_all//: Is a directory pro-archman: Including opkg (0.2.2-1) into dev/trunk... pro-archman: Including opkg (0.2.2-1) into dev/trunk... After: $ pro-archman -b proteanos process-incoming pro-archman: Processing changes in incoming... pro-archman: Including opkg (0.2.2-1) into dev/trunk... pro-archman: Removing package opkg from suite dev/trunk... pro-archman: Including opkg (0.2.2-1) into dev/trunk... pro-archman: Including opkg (0.2.2-1) into dev/trunk... --- (limited to 'lib/cmd') -- cgit v0.9.1