repo: Ignore importing existing variants

It's not an error to duplicate a tree.
This commit is contained in:
Colin Walters 2011-10-14 22:07:58 -04:00
parent 98a043c671
commit 55b3c7ca69

View File

@ -258,7 +258,7 @@ import_gvariant_object (HacktreeRepo *self,
NULL, error))
goto out;
if (!link_one_file (self, tmp_name, FALSE, FALSE, out_checksum, error))
if (!link_one_file (self, tmp_name, TRUE, FALSE, out_checksum, error))
goto out;
ret = TRUE;