Merge tags on import if --tacit is used to prevent info loss

This commit is contained in:
Arun Prakash Jana 2018-05-20 08:16:17 +05:30
parent 421a4e993f
commit 5142f46870
No known key found for this signature in database
GPG Key ID: A75979F35C080412
2 changed files with 2 additions and 1 deletions

1
buku.1
View File

@ -79,6 +79,7 @@ Bookmarks with immutable titles are listed with '(L)' after the title.
- Auto-import looks in the default installation path and default user profile. - Auto-import looks in the default installation path and default user profile.
- URLs starting with `place:`, `file://` and `apt:` are ignored during import. - URLs starting with `place:`, `file://` and `apt:` are ignored during import.
- Parent folder (and subfolder) names are automatically imported as tags if --tacit is used. - Parent folder (and subfolder) names are automatically imported as tags if --tacit is used.
- Tags are merged even if bookmark URL exists when --tacit is used.
- An auto-generated tag in the format 'YYYYMonDD' is added if --tacit is not used in html, markdown or orgfile import. - An auto-generated tag in the format 'YYYYMonDD' is added if --tacit is not used in html, markdown or orgfile import.
.PP .PP
.IP 10. 4 .IP 10. 4

View File

@ -2275,7 +2275,7 @@ class BukuDb:
if not tacit: if not tacit:
append_tags_resp = input('Append tags when bookmark exist? (n/y): ') append_tags_resp = input('Append tags when bookmark exist? (n/y): ')
else: else:
append_tags_resp = 'n' append_tags_resp = 'y'
items = [] items = []
if filepath.endswith('.md'): if filepath.endswith('.md'):