[hacktree] repo: Ignore importing existing variants
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hacktree] repo: Ignore importing existing variants
- Date: Sat, 15 Oct 2011 02:10:38 +0000 (UTC)
commit 55b3c7ca69936804b65adc7fb1f2a412b3e784d6
Author: Colin Walters <walters verbum org>
Date: Fri Oct 14 22:07:58 2011 -0400
repo: Ignore importing existing variants
It's not an error to duplicate a tree.
src/libhacktree/hacktree-repo.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libhacktree/hacktree-repo.c b/src/libhacktree/hacktree-repo.c
index 908ed57..d0afb3f 100644
--- a/src/libhacktree/hacktree-repo.c
+++ b/src/libhacktree/hacktree-repo.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]