changelist

Easy way to create perforce changelist with multiple filespecs

I wish to submit a changelist with multiple filespecs, e.g. ...this... ...file.h ...theother.... Perforce won't let me. I could create a changelist from a file but I do want a chance to review the files and enter the comment. This is for a command-line solution. ...

How do you quickly find/delete all empty changelists in Perforce ?

Hi, I was wondering what could be the point in trying to delete committed changelists, because a committed changelist is not supposed to be empty. But then I am playing with the tutorial depot, and using the obliterate command on a whole branch, I can see there are situation where you can end up with empty committed changelists (that n...

Perforce: Re-reverse-integrating a changelist

(I've already asked this on SU; while I appreciate the Tumbleweed badge there, I'd prefer an answer...) I have a reverse integration pending that I'd like to perform again on the files that are checked out for the integration. The use case is when I've made a change in the integration source and I'd like to propagate it to the integrati...

Subversion: Can I commit several checked-out folders at once?

Let's say I have working copies of several different folders from my SVN repository scattered across my file system. Their parent directories are not part of the repository. E.g. somedir1\ workingcopyOfA\ workingcopyOfB\ somedir2\ somedir3\ workingcopyOfC\ workingcopyOfD\ Now they all contain changes which I would l...

Perforce auto resolve (on a pending changelist) from the command line?

I want to safe resolve all the files in a pending changelist. Currently, the only way I know to do this is to pass p4 a list of files. SET CHANGE_NUMBER=default SET CHANGE_FILES=files.txt DEL %CHANGE_FILES% for /f "tokens=1 delims=#" %%a in ('p4 opened -c %CHANGE_NUMBER%') DO ECHO %%a>>%CHANGE_FILES% p4 -x %CHANGE_FILES% resolve -as ...

Reusing Django Changelist Outside of Admin Site

The Django changelist table is really cool - searchable, filterable, multi-select actions etc. I'm building a custom backend for an app and I keep realizing: this is exactly what I need, I should re-use it. Has anyone had any experience using the change list outside of Django's admin app? What I've arrived at currently is something li...

How do I display a particular changelist number in p4v?

When viewing submitted changelists in p4v, is there a way to display a particular changelist number? That is, how I do the equivalent of p4 describe in p4v? Can I filter for a particular changelist number? I don't see how. ...

check if files have been changed with Subversion svn

I'm using Subversion svn under windows in cmd. How can I check which files have been changed from the revision before? I tried svn.exe info --changelist xx # xx is a revision number But there is no output. I guess I need to add the url to the trunk + I need to tell svn.exe that I want the changelist from the current revision I have...

How to filter queryset in changelist_view in django admin?

Let's say I have a site where Users can add Entries through admin panel. Each User has his own Category he is responsible for (each Category has an Editor assigned through ForeingKey/ManyToManyField). When User adds Entry, I limit the choices by using EntryAdmin like this: class EntryAdmin(admin.ModelAdmin): (...) def formfiel...

User-based model instances filtering in django admin

I'm using django's admin to let users manage model instances of a specific model. Each user should be able to manage only his model instances. (except for administrators which should manage all). How do I filter the objects in the admin's changelist view? Thoughts: I guess the most elegant approach would be to use Object-level permis...

How do you get the branch spec that was used for a specific integrate in the depot history?

P4V's depot view shows the various branches and their paths, but not the branch names. The branch spec (or branch mapping) contains the "name" of the branch. Let's assume that user X has branched code from branch A to branch B using a branch mapping M some time in the past. Is there a way to ask perforce which branch mapping was use...

How to only commit files in the unnamed changelist with SVN?

I am using the command line SVN client (for speed reasons) and have a changelist of files that I wish to ignore on each commit (much like TortoiseSVN does). Is there a way to commit all files except a specific changelist or maybe just commit all files not in a changelist? Thanks ...

Is there a way to get subversion to add files to a default changelist?

I'd like to be able to tell svn to automatically add new files to a default changelist, mostly as a workaround to svn's lack of a "no changelist" filter. Is there an official way of doing this? I can write a little script to do it, but if there's a way to do it that will integrate well with the command-line client, I'd love to know about...