Fix regression when copy: is used for a relative path
authorMichael Vogt <mvo@ubuntu.com>
Fri, 19 Sep 2014 14:41:55 +0000 (16:41 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Fri, 19 Sep 2014 14:41:55 +0000 (16:41 +0200)
commit9da539c5aff025aab99537be1c75e8c6a853fd83
treeef94188d861699977f2ceee8510c5dfbdcf22ca4
parent8b451962751298876d1f399e4de492d8adbb135a
Fix regression when copy: is used for a relative path

When we do a ReverifyAfterIMS() we use the copy: method to
verify the hashes again. If the user uses -o Dir=./something/relative
this fails because we use the URI class in copy.cc that strips
away the leading relative part. By not using URI this is fixed.

Closes: #762160
methods/copy.cc
test/integration/test-bug-762160-relpath