syncNewRemote is not only used for new remotes; rename to syncRemote
This commit is contained in:
parent
4ba729461c
commit
1f1cddbaa7
7 changed files with 11 additions and 15 deletions
|
@ -32,7 +32,7 @@ makeSshRemote forcersync sshdata mcost = do
|
|||
r <- liftAnnex $
|
||||
addRemote $ maker (sshRepoName sshdata) sshurl
|
||||
liftAnnex $ maybe noop (setRemoteCost r) mcost
|
||||
syncNewRemote r
|
||||
syncRemote r
|
||||
return r
|
||||
where
|
||||
rsync = forcersync || rsyncOnly sshdata
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue