Comments (6)
Comment by Shawn Pearce <[email protected]> on Mon Feb 09 10:28:26 PST 2009
On a related note, I received this request by email from another user:
--------
So, I believe I'd like to see something like
repo sync [branch]@Sha1
Expected Behavior:
- Syncs each repository to the state it was before sha1 was checked in.
- Sha1 pretty much only indicates the time of checkin. So, each repository is
synced to the state at that time.
- It would be really nice to get repo sync to write a meta-data file that
would indicate what sha1s were the latest for each repository
- I am not sure how the branch option would fit in but we are pretty much just
syncing the branch at that given time the sha1 was checked in.
Original comment by [email protected]
on 24 Sep 2009 at 9:10
from git-repo.
Comment by Shawn Pearce <[email protected]> on Tue Mar 03 18:04:39 PST 2009
https://review.source.android.com/9051 is perhaps part of the solution, by
providing a manifest export that contains pegged revisions.
Original comment by [email protected]
on 24 Sep 2009 at 9:10
from git-repo.
Comment by Patrick Brady <[email protected]> on Wed Apr 29 09:10:20 PDT 2009
It would be great to have:
repo sync --tag <tag>
execute:
repo forall -c "git checkout <tag>"
so you could repo init once to a single branch, and then easily sync between
snapshots.
Original comment by [email protected]
on 24 Sep 2009 at 9:11
from git-repo.
Original comment by [email protected]
on 24 Sep 2009 at 11:12
from git-repo.
Yeah, repo tag would definitely be great. Or maybe I'm missing another way to
do the equivalent.
Original comment by [email protected]
on 26 Jul 2011 at 9:10
from git-repo.
I figured it out. If your have a tag in a manifest file (version.xml for
example). You can repo init to a specific tag with the following command:
repo init -u <addres> -b refs/tags/<tagname> -m version.xml
Original comment by [email protected]
on 28 Oct 2013 at 2:04
from git-repo.
Related Issues (20)
- "HTTP request failed" on repo sync HOT 3
- repo manifest subcommand broken for AOSP manifest files that use notdefault groups HOT 2
- exclusively lock mechanism for repo tool HOT 3
- Exited sync due to gc errors
- FEATURE: repo "revert" HOT 3
- repo init :fatal: error [Errno 110] Connection timed out HOT 1
- changing manifest branches fails if previous init was "manifest_branch + manifest_file" HOT 6
- Parallell run of git gc hangs HOT 2
- local_manifests/ not working (not finding the new xml file) HOT 3
- Repo init script - Mac osx 10.8 - Operation not permitted error - on repo: line 702: os.execv(main, me) HOT 3
- repo init -m foobar.xml fails if .repo/manifest.xml exists and is broken (pointing at a missing file) HOT 1
- repo info -o deletes spaces from commit messages HOT 4
- repo info -ob chokes if the log message contains % signs HOT 2
- repo init -m should not require a -u argument
- repo sync error HOT 2
- repo sync with --manifest-name won't fetch new projects HOT 2
- repo: repo sync should force fast-forward merge HOT 1
- repo: repo sync should use the tag name instead of object identifier of the tag HOT 4
- Per project-depth HOT 1
- Per-project current-branch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-repo.