Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869@title Diffusion User Guide: Existing Repositories@group userguideQuick guide for importing or observing existing repositories.Overview========If you have an existing repository, you can observe or import it intoDiffusion.Observing a repository creates a read-only copy in Phorge that is keptup to date by continuously importing new changes.Importing a repository creates a read-write copy.This document is a quick guide to getting started. For an overview ofDiffusion, see @{article:Diffusion User Guide}. For a more detailed guideabout managing repositories and URIs in Diffusion, see@{article:Diffusion User Guide: URIs}.Observing Repositories======================To observe an existing repository: - Create a repository in Diffusion, but do not activate it yet. - Add the URI for the existing repository you wish to observe in the **URIs** section, in **Observe** mode. - Activate the repository in Diffusion.This creates a read-only copy of the repository in Phorge. Phorgewill keep its copy in sync with the remote by periodically polling the remotefor changes.For more details, see @{article:Diffusion User Guide: URIs}.Importing Repositories======================There are two primary ways to import an existing repository:**Observe First**: In Git or Mercurial, you can observe the repository first.Once the import completes, change the "I/O Type" on the **Observe** URI to"No I/O" mode to automatically convert it into a hosted repository.**Push to Empty Repository**: Create and activate an empty repository, then pushall of your changes to the empty repository.In Git and Mercurial, you can do this with `git push` or `hg push`.In Subversion, you can do this with `svnsync`.For more details, see @{article:Diffusion User Guide: URIs}.Next Steps==========Continue by: - reading an overview of Diffusion in @{article:Diffusion User Guide}; or - learning more about managing remote repository URIs in @{article:Diffusion User Guide: URIs}.