We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 14f4037 + 6712ff4 commit 7a454e7Copy full SHA for 7a454e7
lib/FCM1/Cm.pm
@@ -1794,7 +1794,9 @@ sub _cm_get_source {
1794
return _cm_err(FCM1::Cm::Exception->INVALID_BRANCH, $source_url);
1795
}
1796
$source->url_peg(
1797
- $source->branch_url() . '/' . $target->subdir() . '@' . $source->pegrev()
+ $source->branch_url()
1798
+ . ($target->subdir() ? '/' . $target->subdir() : q{})
1799
+ . ('@' . $source->pegrev())
1800
);
1801
# Ensure that the source and target URLs are in the same project
1802
if ($source->project_url() ne $target->project_url()) {
0 commit comments