我想将svn文件夹移动到另一个svn文件夹。我在旧的svn文件夹中使用了dump。之后我使用svnrdump加载到另一个svn文件夹。他们是同一台机器不同的svn repo。在加载过程中,我用Ctr + C切断了。之后我尝试再次加载。但是以下错误正在返回。
> Failed to get lock on destination repos, currently held by 'current computer name'
> svnrdump: E200015: Caught signal
> svnrdump: E200042:
> Additional errors: svnrdump: E200015: Caught signal
这是我的svn代码。
svnrdump dump http://...... > C:/mydump
svnrdump load http://.......< C:/mydump
我该如何解决这个问题?谢谢大家
答案 0 :(得分:4)
您可以删除目的地的svn:rdump-lock
:
svn propdel svn:rdump-lock --revprop -r 0 DESTINATION
但在这种情况下,如果你想要svnrdump load
agian,你会收到另一条错误消息(类似于以下):
svnrdump: E160020: File already exists: filesystem '62fb10e7-eabe-e711-825a-005056a07bed', transaction '4-5', path '/trunk'
我找不到其他解决方案:
svn checkout FAILED_DESTINATION failed_dest
cd failed_dest
svn rm *
svn commit . -m "restart load"
svnrdump load FAILED_DESTINATION < full.dump
如果ssh
FAILED_DESTINATION
svnadmin load -r LAST_SUCCESS_REV:HEAD < dumpfile
可以尝试svnrdump
。 -r
不支持ssh
选项。但我认为在这种情况下(能够svnrdump load
)更简单地删除部分存储库并创建一个新存储库并再次执行library(tidyverse)
d1 %>%
arrange(desc(Dimension1)) %>%
mutate(cut = cut(Dimension1, 32),
X = 0) %>%
group_by(cut) %>%
mutate(label = paste(Category, collapse = ", "),
coord = mean(Dimension1),
label2 = ifelse(duplicated(label), NA, label)) %>%
ungroup() %>%
ggplot(aes(x=X, y=Dimension1, label=Category, color = label)) +
geom_segment(aes(x = -0.25, y = 5 + min(Dimension1), xend = -0.25, yend = max(Dimension1)-5), arrow = arrow(ends = "both"), alpha=0.5, size=0.5)+
geom_point() +
geom_text(aes(label=label2, x = X+0.05, y = coord, color = label), family="Times New Roman", size=4, hjust = 0) +
theme_bw()+
theme(axis.text.x = element_text(colour="black"),
axis.text.y = element_text(colour="black"))+
theme(text=element_text(family="Times New Roman"),
panel.grid.major.y = element_blank(),
panel.grid.minor.y = element_blank(),
panel.grid.major.x = element_blank(),
panel.grid.minor.x = element_blank(),
axis.title.x=element_blank(),
axis.title.y=element_blank(),
axis.text.x = element_blank(),
axis.ticks.x = element_blank(),
legend.position="none") +
geom_vline(xintercept = 0, linetype = 1) +
coord_cartesian(xlim = c(-0.5, 3))
。
我不是颠覆专家,我也没有(更好)的想法。