Commits

Show all
Author Commit Message Labels Comments Date
Sean Farley
svncommands: call util.dump instead of manually writing file
Sean Farley
util: remove unused save_string
Sean Farley
maps: call util.dump instead save_string Now that we're using json, we can use one centralized way of serializing data.
Sean Farley
util: remove unused load_string
Sean Farley
util: remove all calls to load_string Now that we use json, we no longer need to load strings differently from any other serialized data.
Sean Farley
util: add default parameter to load This will help facilitate moving load_string to just use load.
Sean Farley
util: banish pickle to compathacks
Sean Farley
compathacks: specify for generic compatibility hacks
Sean Farley
compathacks: pep8
Sean Farley
util: convert pickle to json If we fallback to loading data with pickle, then we immediately save the data in json format to avoid any pickling in the future.
Sean Farley
util: serialize data with json instead of pickle
Sean Farley
util: try to load data using json Currently, this will do nothing since no part of hgsubversion writes json but that will happen in a future patch. The goal of this is to move away from pickle completely but fallback to reading pickle if json fails.
Sean Farley
util: add visitor pattern for scrubbing json These functions are for future patches that will add safer serialization via json. '_convert' is a visitor pattern that will be used for lists, dictionaries, and strings for helping convert None to the empty string since json forbids 'null' as a key for a dictionary. None -> '' is a safe mapping because this is for the 'branch_info' variable which already maps the empty string to None. Note, als…
Sean Farley
tests: use util.load instead of bare pickle
Sean Farley
svncommands: use util.load instead of bare pickle
Sean Farley
svncommands: use util.dump instead of pickle.dump
Sean Farley
svnmeta: use util.load instead of bare pickle
Sean Farley
layouts: use util.load instead of bare pickle
Sean Farley
util: add a method to load data from a file
Sean Farley
util: rename pickle_atomic to dump This is in preparation for an upcoming patch that will add a 'load' method to util.
Augie Fackler
Merge with stable.
maugustin
fix promptchoice call, since it changed in mercurial 2.7 (change c58b6ab4c26f)
Branches
stable
Sean Farley
util: remove pre-1.9 mercurial code from pickle_atomic
Sean Farley
util: remove pre-1.6 mercurial code from parseurl
Sean Farley
stupid: remove pre-1.9 code from filteriterhunks
Sean Farley
wrappers: remove pre-1.9 code from hgclonewrapper
Sean Farley
wrappers: remove pre-1.9 code from clone
Sean Farley
svnexternals: remove pre-1.9 pegrev code
Sean Farley
svnexternals: remove pre-1.7 code and reindent
Sean Farley
help: remove pre-1.7 text
  1. Prev
  2. Next