Show More
@@ -593,3 +593,12 b' def lfpull(ui, repo, source="default", *' | |||||
593 | (cached, missing) = cachelfiles(ui, repo, rev) |
|
593 | (cached, missing) = cachelfiles(ui, repo, rev) | |
594 | numcached += len(cached) |
|
594 | numcached += len(cached) | |
595 | ui.status(_("%d largefiles cached\n") % numcached) |
|
595 | ui.status(_("%d largefiles cached\n") % numcached) | |
|
596 | ||||
|
597 | @command('debuglfput', | |||
|
598 | [] + cmdutil.remoteopts, | |||
|
599 | _('FILE')) | |||
|
600 | def debuglfput(ui, repo, filepath, **kwargs): | |||
|
601 | hash = lfutil.hashfile(filepath) | |||
|
602 | storefactory.openstore(repo).put(filepath, hash) | |||
|
603 | ui.write('%s\n' % hash) | |||
|
604 | return 0 |
General Comments 0
You need to be logged in to leave comments.
Login now