[hack] Refactoring some of saving deptable in hh_shared
[hack] Refactoring some of saving deptable in hh_shared

Summary: Refactoring some of saving deptable in hh_shared

Reviewed By: dabek, gregory-nisbet

Differential Revision: D7559730

fbshipit-source-id: b0afc27835d1e8e670d2983050a9cfc5c1066747

popham/flow,nmote/flow,claudiopro/flow,popham/flow,nmote/flow,mroch/flow,nmote/flow,mroch/flow,gabelevi/flow,samwgoldman/flow,gabelevi/flow,mroch/flow,AgentME/flow,jamesgpearce/flow,samwgoldman/flow,AgentME/flow,claudiopro/flow,nmote/flow,claudiopro/flow,mroch/flow,popham/flow,jamesgpearce/flow,jamesgpearce/flow,popham/flow,gabelevi/flow,samwgoldman/flow,JonathanUsername/flow,mroch/flow,claudiopro/flow,JonathanUsername/flow,nmote/flow,claudiopro/flow,jamesgpearce/flow,mroch/flow,facebook/flow,samwgoldman/flow,jamesgpearce/flow,jamesgpearce/flow,facebook/flow,facebook/flow,popham/flow,gabelevi/flow,samwgoldman/flow,nmote/flow,nmote/flow,gabelevi/flow,mroch/flow,facebook/flow,JonathanUsername/flow,facebook/flow,popham/flow,samwgoldman/flow,JonathanUsername/flow,JonathanUsername/flow,AgentME/flow,jamesgpearce/flow,facebook/flow,AgentME/flow,facebook/flow,JonathanUsername/flow,gabelevi/flow,samwgoldman/flow,JonathanUsername/flow,gabelevi/flow,AgentME/flow,popham/flow